* Two VM problems for the 2.4 TODO list
@ 2000-09-04 16:07 Stephen C. Tweedie
0 siblings, 0 replies; only message in thread
From: Stephen C. Tweedie @ 2000-09-04 16:07 UTC (permalink / raw)
To: Theodore Ts'o; +Cc: Stephen Tweedie, linux-kernel
Hi Ted,
To be fixed for 2.4:
1) Non-atomic pte updates
The page aging code and mprotect both modify existing ptes
non-atomically. That can stomp on the VM hardware on other CPUs
setting the dirty bit on mmaped pages when using threads. 2.2 is
vulnerable too.
2) RSS locking
swapout holds the page_table_lock while swapping, and adjusts the
mm->rss while holding that lock. Other places in the mm are not
so careful about holding the lock, so rss (which is not an
atomic_t) can be corrupted.
--Stephen
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-09-04 16:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-09-04 16:07 Two VM problems for the 2.4 TODO list Stephen C. Tweedie
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.