> diff -uNr linux.orig/fs/buffer.c linux/fs/buffer.c
> --- linux.orig/fs/buffer.c Thu Feb 28 22:00:02 2002
> +++ linux/fs/buffer.c Fri Mar 1 10:29:52 2002
> @@ -735,9 +735,8 @@
> wakeup_bdflush();
> try_to_free_pages(zone, GFP_NOFS, 0);
> run_task_queue(&tq_disk);
> - current->policy |= SCHED_YIELD;
> __set_current_state(TASK_RUNNING);
> - schedule();
> + yield();
> }
>
> void init_buffer(struct buffer_head *bh, bh_end_io_t *handler, void *private)
is __set_current_state(TASK_RUNNING) compatible with the new scheduler?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/