lkml.org 
[lkml]   [2015]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 11/13] Always define MAX_RAW_MINORS as 65535 in userspace
From
Date
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




\
 
 \ /
  Last update: 2015-09-15 23:01    [W:0.308 / U:3.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site