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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Mon, 21 Oct 2013 05:11:16 +0530
From:	Piyus Kedia <piyuskedia@...il.com>
To:	linux-kernel@...r.kernel.org
Subject: Re: Classifying user and kernel pages

The user pages are generally allocated using GFP_USER or GFP_HIGHMEM
flags. The linux kernel treats GFP_USER and GFP_KERNEL as same. So,
there is no way you can tell whether a physical page belongs to user
process or not using physical frame number.

Piyus

On Fri, Oct 4, 2013 at 12:19 AM, Piyus Kedia <piyuskedia@...il.com> wrote:
> Hi All,
>
> Does anybody know if there is a way in Linux Kernel to find whether a
> physical page is a user page or it is kernel page. A kernel page is
> only accessed by kernel and it doesn't belong to any user process.
>
> Thanks,
> Piyus
--
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