Re: [RFT][PATCH] 2.3.10 pre5 SMP/vm fixes

Linus Torvalds (torvalds@transmeta.com)
Thu, 8 Jul 1999 10:00:30 -0700 (PDT)


On Thu, 8 Jul 1999, Kanoj Sarcar wrote:
>
> *****************************************************************
> 3. In mm/memory.c, a new comment claims:
> "The adding of pages is protected by the MM semaphore"
> which is not quite correct, since swapoff does not hold this semaphore.

The fix is to fix swapoff, not to change the comment.

page_table_lock is _not_ going to be added to this path - I refuse to add
locks to common cases just to protect against things that never run in
practice.

Linus

-
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/