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  PHC 
Open Source and information security mailing list archives
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 18 Oct 2014 09:28:17 -0700
From:	Dave Hansen <>
To:	Dominik Dingel <>
CC:	Andrew Morton <>,,
	Mel Gorman <>, Michal Hocko <>,
	Rik van Riel <>,
	Andrea Arcangeli <>,
	Andy Lutomirski <>,
	"Aneesh Kumar K.V" <>,
	Bob Liu <>,
	Christian Borntraeger <>,
	Cornelia Huck <>,
	Gleb Natapov <>,
	Heiko Carstens <>,
	"H. Peter Anvin" <>,
	Hugh Dickins <>,
	Ingo Molnar <>,
	Jianyu Zhan <>,
	Johannes Weiner <>,
	"Kirill A. Shutemov" <>,
	Konstantin Weitz <>,,,,,
	Martin Schwidefsky <>,
	Paolo Bonzini <>,
	Peter Zijlstra <>,
	Sasha Levin <>
Subject: Re: [PATCH 2/4] mm: introduce new VM_NOZEROPAGE flag

On 10/18/2014 07:49 AM, Dominik Dingel wrote:
> On Fri, 17 Oct 2014 15:04:21 -0700
> Dave Hansen <> wrote:
>> Is there ever a time where the VMAs under an mm have mixed VM_NOZEROPAGE
>> status?  Reading the patches, it _looks_ like it might be an all or
>> nothing thing.
> Currently it is an all or nothing thing, but for a future change we might want to just
> tag the guest memory instead of the complete user address space.

I think it's a bad idea to reserve a flag for potential future use.  If
you _need_ it in the future, let's have the discussion then.  For now, I
think it should probably just be stored in the mm somewhere.

>> Full disclosure: I've got an x86-specific feature I want to steal a flag
>> for.  Maybe we should just define another VM_ARCH bit.
> So you think of something like:
> #if defined(CONFIG_S390)
> #endif
> #endif
> right?

Yeah, something like that.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists