linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* BUG? race between kswapd and ptrace (access_process_vm )
@ 2001-03-07 16:32 Manfred Spraul
  2001-03-07 16:56 ` Rik van Riel
  0 siblings, 1 reply; 4+ messages in thread
From: Manfred Spraul @ 2001-03-07 16:32 UTC (permalink / raw)
  To: linux-kernel

Is kswapd now running without lock_kernel()?

Then there is a race between swapout and ptrace:
access_process_vm() accesses the page table entries, only protected with
the mmap_sem semaphore and lock_kernel().

Isn't

    spin_lock(&mm->page_table_lock);

missing in access_one_page() [in linux/kernel/ptrace.c]?

--
    Manfred


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-03-12 11:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-07 16:32 BUG? race between kswapd and ptrace (access_process_vm ) Manfred Spraul
2001-03-07 16:56 ` Rik van Riel
2001-03-08 20:12   ` Manfred Spraul
2001-03-12 11:55     ` Stephen C. Tweedie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).