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] [day] [month] [year] [list]
Message-ID: <6599ad830610302015r473bee49pd8c0381a1ca04742@mail.gmail.com>
Date:	Mon, 30 Oct 2006 20:15:11 -0800
From:	"Paul Menage" <menage@...gle.com>
To:	"Paul Jackson" <pj@....com>
Cc:	akpm@...l.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Allow a larger buffer for writes to cpuset files

On 10/30/06, Paul Jackson <pj@....com> wrote:
>
> How about coding for the possibility that either NR_CPUS or MAX_NUMNODES
> is larger, and removing 'cpu' from the comment:
>
>         /* Crude upper limit on largest legitimate list user might write. */
>         if (nbytes > 100 + 6 * max(NR_CPUS, MAX_NUMNODES))
>

Yes, that does seem like a better idea.

Paul
-
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