lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 13 Feb 2011 22:06:08 +0000
From:	Alan Cox <alan@...rguk.ukuu.org.uk>
To:	Nikolaus Rath <Nikolaus@...h.org>
Cc:	Brice Goglin <Brice.Goglin@...-lyon.org>,
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: virt_to_page for userspace pointers

> > If you don't lock the page, you have no guarantee that it won't get
> > swapped out or migrated while you look at the physical page.
> 
> That's fine, I know that if the page is there at all then it has been
> locked by a (different) kernel driver. Is there any way to find out what
> I want?

How do you know the other driver isn't in the middle of releasing the
page ? Doing that deep in mm code without locking inversions will be fun.

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ