[lkml]   [2000]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: BUG FIX?: mm->rss is modified in some places without holding the page_table_lock
   Date: 	Fri, 3 Nov 2000 09:56:15 -0500
From: "Theodore Y. Ts'o" <tytso@MIT.EDU>

Are you saying that the original bug report may not actually be a
problem? Is ms->rss actually protected in _all_ of the right
places, but people got confused because of the syntactic sugar?

I don't know if all of them are ok, most are.

Someone would need to do the analysis. David's patch could be used as
a good starting point. A quick glance at mm/memory.c shows these
spots need to be fixed:

1) End of zap_page_range()
2) Middle of do_swap_page
3) do_anonymous_page
4) do_no_page

David S. Miller
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:45    [W:0.150 / U:1.436 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site