Revision 032c09d76cdb448484859cc84dac4bba8f5f8f14 authored by Hugh Dickins on 02 December 2005, 15:59:59 UTC, committed by James Bottomley on 02 December 2005, 16:24:14 UTC
2.6.15-rc1 made sg's st_unmap_user_pages and st's sgl_unmap_user_pages BUG on a PageReserved page. But that's wrong: they could be unmapping the ZERO_PAGE, which is marked PG_reserved; and perhaps others (while get_user_pages is still permitted on VM_PFNMAP areas - that may change). More change is needed here: sg claims to dirty even pages written from, and st claims not to dirty even pages read into; and SetPageDirty is not adequate for this nowadays. Fixes to those follow in a later patch: for the moment just fix the 2.6.15 regression. Signed-off-by: Hugh Dickins <hugh@veritas.com> Acked-by: Nick Piggin <npiggin@suse.de> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
1 parent 6bc733e
File | Mode | Size |
---|---|---|
buffer_sync.c | -rw-r--r-- | 12.6 KB |
buffer_sync.h | -rw-r--r-- | 434 bytes |
cpu_buffer.c | -rw-r--r-- | 6.5 KB |
cpu_buffer.h | -rw-r--r-- | 1.2 KB |
event_buffer.c | -rw-r--r-- | 3.9 KB |
event_buffer.h | -rw-r--r-- | 1.1 KB |
oprof.c | -rw-r--r-- | 3.1 KB |
oprof.h | -rw-r--r-- | 887 bytes |
oprofile_files.c | -rw-r--r-- | 3.2 KB |
oprofile_stats.c | -rw-r--r-- | 1.9 KB |
oprofile_stats.h | -rw-r--r-- | 669 bytes |
oprofilefs.c | -rw-r--r-- | 6.4 KB |
timer_int.c | -rw-r--r-- | 824 bytes |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...