Skip to contentSkip to conversation

message/mptbase: replace

PATCH maximilian attems 1 participant 1 message Aug 14, 2004 Kernel janitors

lore
Share & tools
lore
#0 lore raw

drivers/message/fusion/mptbase.c

Quoted 29 lines · Nishanth Aravamudan

I would appreciate any comments from the janitors list. This is one (of many) cases where I made a decision about replacing

set_current_state(TASK_INTERRUPTIBLE);
schedule_timeout(some_time);

with

msleep(jiffies_to_msecs(some_time));

msleep() is not exactly the same as the previous code, but I only did this replacement where I thought long delays were *desired*. If this is not the case here, then just disregard this patch.

Thanks,
Nish

Applys-to: 2.6.7

Description: Replace schedule_timeout() with msleep() to guarantee the task delays for the desired time.

drivers/message/fusion/mptbase.c +0 -0

could you please rework this one, it doesn't apply anymore to 2.6.8 i could do it but prefer to get next kjt patchset out soon.

a++ maks

ps patchfile output:
patching file drivers/message/fusion/mptbase.c
Hunk #1 succeeded at 3328 (offset 211 lines).
Hunk #2 FAILED at 3560.
Hunk #3 FAILED at 3652.
Hunk #4 FAILED at 3743.
Hunk #5 FAILED at 3769.
Hunk #6 FAILED at 3801.
5 out of 6 hunks FAILED -- saving rejects to file drivers/message/fusion/mptbase.c.rej

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors