[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-xorg-devel
Subject: Re: [PATCH 2/2] configurable maximum number of clients
From: Keith Packard <keithp () keithp ! com>
Date: 2015-08-24 17:35:04
Message-ID: 86h9nor3nb.fsf () hiro ! keithp ! com
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
Olivier Fourdan <ofourdan@redhat.com> writes:
> Make the maximum number of clients user configurable, either from the command
> line or from xorg.conf
>
> This patch works by using the MAXCLIENTS (raised to 512) as the maximum
> allowed number of clients, but allowing the actual limit to be set by the
> user to a lower value (keeping the default of 256).
>
> There is a limit size of 29 bits to be used to store both the client ID and
> the X resources ID, so by reducing the number of clients allowed to connect to
> the X server, the user can increase the number of X resources per client or
> vice-versa.
>
> Parts of this patch are based on a similar patch from Adam Jackson
> <ajax@redhat.com>
>
> Signed-off-by: Adam Jackson <ajax@redhat.com>
> Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
> Reviewed-by: Adam Jackson <ajax@redhat.com>
> ---
> v2: Use the user set client limit in multiple places instead of MAXCLIENTS,
> Bump value for MAXCLIENTS, MAXSELECT, MAXSOCKS and OPEN_MAX to 512,
> Requires an updated Xproto.
> v3: Fix 256 limit still remaining in InitConnectionLimits()
I've squashed these two patches together as they are inter-dependent and
merged them.
7ecdfbf..d206c24 master -> master
--
-keith
["signature.asc" (application/pgp-signature)]
[Attachment #6 (text/plain)]
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic