[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <55F882C7.4080304@zytor.com>
Date: Tue, 15 Sep 2015 13:42:47 -0700
From: "H. Peter Anvin" <hpa@...or.com>
To: Palmer Dabbelt <palmer@...belt.com>, arnd@...db.de,
dhowells@...hat.com
Cc: viro@...iv.linux.org.uk, ast@...mgrid.com,
aishchuk@...ux.vnet.ibm.com, aarcange@...hat.com,
akpm@...ux-foundation.org, luto@...nel.org, acme@...nel.org,
bhe@...hat.com, 3chas3@...il.com, chris@...kel.net, dave@...1.net,
dyoung@...hat.com, drysdale@...gle.com, davem@...emloft.net,
ebiederm@...ssion.com, geoff@...radead.org,
gregkh@...uxfoundation.org, mingo@...nel.org,
iulia.manda21@...il.com, plagnioj@...osoft.com, jikos@...nel.org,
josh@...htriplett.org, kexec@...ts.infradead.org,
linux-api@...r.kernel.org, linux-arch@...r.kernel.org,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-xtensa@...ux-xtensa.org, mathieu.desnoyers@...icios.com,
jcmvbkbc@...il.com, paulmck@...ux.vnet.ibm.com,
a.p.zijlstra@...llo.nl, tglx@...utronix.de, tomi.valkeinen@...com,
vgoyal@...hat.com, x86@...nel.org
Subject: Re: [PATCH 11/13] Always define MAX_RAW_MINORS as 65535 in userspace
On 09/14/2015 03:50 PM, Palmer Dabbelt wrote:
> While I don't think this was ever meant to be exposed to userspace, if
> anyone is using it then this will at least provide a correct (if
> unlikely) definition.
>
> MAX_RAW_MINORS used to be used in the kernel, where it's been replaced
> with CONFIG_MAX_RAW_MINORS.
>
> Note that there's a checkpatch.pl warning about a split config string
> here, but I've left that alone.
>From a UAPI perspective I would think the right value would be 2^20.
-hpa
--
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