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]
Message-ID: <20070204165407.GD10477@curandero.marconia.cz>
Date:	Sun, 4 Feb 2007 17:54:08 +0100
From:	Michal Hocko <mstsxfx@...il.com>
To:	Arjan van de Ven <arjan@...radead.org>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: mm: how to check for kernel pages

On Sun, Feb 04, 2007 at 04:45:51PM +0100, Arjan van de Ven wrote:
> > Sorry for not being more precise. As a part of my thesis work I need to
> > migrate pages. I greatly use mm/migrate.c code.  
> > I assume that not all pages can be migrated - especially those used by
> > kernel (where direct virtual to physical mapping is used).
> > So I intended something like following code:
> 
> it's more than that... even userspace pages may not be moved if they're
> the target of active DMA for example ..... 

Ok, so what everything should be checked?

- PageReserved
- PageSlab
- PageLocked
- PageBuddy 
- PageCompound
- PageNosave
- PageNosaveFree 
- kernel page
- userspace active DMA as you've mentioned. But I don't know how to test
  it

-- 
Michal Hocko

-
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