View previous topic :: View next topic |
Author |
Message |
antst n00b
Joined: 24 Jul 2003 Posts: 67 Location: Netherlands
|
Posted: Thu Jul 24, 2003 3:10 am Post subject: gentoo-sources (pfeifer-sources) + win4lin |
|
|
Did sombody managed to applay win4lin patches to gentoo(pfeifer)-sources?
If not, lets disscuss this.
I'm working on it now, seems that this is possible.
Only two ynigs unclear yet, but I still hope.
Fresh ideas and experience are welcome.
So, let's do it together |
|
Back to top |
|
|
antst n00b
Joined: 24 Jul 2003 Posts: 67 Location: Netherlands
|
Posted: Thu Jul 24, 2003 12:30 pm Post subject: |
|
|
Ok, one of two problems I have solved.
Last one...(time to remember assembler ) |
|
Back to top |
|
|
hyper n00b
Joined: 24 Jul 2003 Posts: 24 Location: Guarulhos - SP - Brasil
|
Posted: Sat Sep 06, 2003 2:04 am Post subject: |
|
|
hi, i'm using gentoo-sources, patched for bootsplash but i can't patch the win4lin. i got it wrong. what do i have to do? _________________ "A vingança nunca é plena, mata a alma e a invenena!" (Seu Madruga) |
|
Back to top |
|
|
nepto n00b
Joined: 04 Sep 2003 Posts: 16 Location: Slovakia
|
Posted: Mon Sep 08, 2003 4:02 pm Post subject: |
|
|
And where is such win4lin patch of gentoo-sources available?
I'm doing it now, if it will work, I will add patch here. _________________ Ondrej Jombik
Visit my homepage, review my recent CV or projects and give me some feedback. |
|
Back to top |
|
|
nepto n00b
Joined: 04 Sep 2003 Posts: 16 Location: Slovakia
|
Posted: Mon Sep 08, 2003 6:10 pm Post subject: |
|
|
I solved all assembler related problems, however I have no idea how to integrate win4lin patch with O(1) vm rmap patch. This is the mentioned rejection:
Code: |
***************
*** 305,310 ****
counter = mmlist_nr;
do {
if (unlikely(current->need_resched)) {
__set_current_state(TASK_RUNNING);
schedule();
--- 310,318 ----
counter = mmlist_nr;
do {
+ #ifdef CONFIG_MKI
+ CALL_MKI_HOOK(MKI_HOOK_SWAP, (void *)priority, (void *)gfp_mask);
+ #endif
if (unlikely(current->need_resched)) {
__set_current_state(TASK_RUNNING);
schedule();
|
CALL_MKI_HOOK is in swap_out() call, however in the new (gento-sources) MM there is no function with this name. And there is also nothing similar to this. It seems that we need someone with exhaustive Linux MM knowledges. I will try to figure a right place in new (gento-sources) MM where CALL_MKI_HOOK call should be, however I cannot guarantee success... _________________ Ondrej Jombik
Visit my homepage, review my recent CV or projects and give me some feedback. |
|
Back to top |
|
|
cbradney Apprentice
Joined: 08 May 2003 Posts: 245 Location: Luxembourg
|
Posted: Tue Sep 09, 2003 6:37 pm Post subject: |
|
|
I got about that far about 2 months ago, with the gentoo-sources around at the time. Same approx place. I decided that I also new little about the new schedule stuff that I'd leave it for someone else (it was my first kernel hack/patch). I am very interested to read the source when the solution is found by someone here/Nettraverse. As far as I know its not a gentoo-sources issue, just an issue with any kernel with the O(1) scheduler.. ie, all from 2.4.22 onwards I think. I'm sure there'll be an answer soon with 2.6 moving along. |
|
Back to top |
|
|
cbradney Apprentice
Joined: 08 May 2003 Posts: 245 Location: Luxembourg
|
|
Back to top |
|
|
|