Re: [PATCH] Patch to not fork/exec xkbcomp on X Server initialization

2009-03-30 Thread Li, Yan
On Fri, Mar 27, 2009 at 11:17:14AM +1000, Peter Hutterer wrote: I think /var/cache instead of /var/lib is the better place to put the files. http://www.pathname.com/fhs/pub/fhs-2.3.html#VARLIBVARIABLESTATEINFORMATION vs. http://www.pathname.com/fhs/pub/fhs-2.3.html#VARCACHEAPPLICATIONCACHEDATA

Re: [PATCH] Patch to not fork/exec xkbcomp on X Server initialization

2009-03-26 Thread Peter Hutterer
On Wed, Mar 25, 2009 at 02:58:36PM +0800, Li, Yan wrote: This is the patch that I wrote for Moblin as part of the efforts of fast-boot to save some load time of X server: xkbcomp outputs will be cached in files with hashed keymap as names (using SHA1). This saves boot time for around 1s on

[PATCH] Patch to not fork/exec xkbcomp on X Server initialization

2009-03-25 Thread Li, Yan
This is the patch that I wrote for Moblin as part of the efforts of fast-boot to save some load time of X server: xkbcomp outputs will be cached in files with hashed keymap as names (using SHA1). This saves boot time for around 1s on commodity netbooks. It is made against 1.6.0. I haven't read