Re: [patch] __flush_one_page() on i386

Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 16 Sep 1999 13:10:17 +0100 (BST)


> In 2.3.18 __flush_one_page() actually is called by flush_tlb_page() in
> smp.c and flush_tlb_page is called by kswapd. kswapd has no current->mm so
> then flush_tlb_current_page() oopses because current->mm is null and it's
> trying to dereference it to flush the mm of the current (kswapd) task.

For this latter item would it not be better to give kswapd and everything else
a valid mm (eg the task 0 mm), just to be more regular

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/