lkml.org 
[lkml]   [2003]   [Aug]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH] shm to sysfs rebuild.
Date
Patrick,

Here's shm to sysfs rebuild following your advices :

Summary :

-Removing kobj_map
-Adding object memsetting rather than field/field NULL
-Declaring attributes global
-Adding pointer compare rather than string compare
-Removing unnecessary pressure on the stack
-Using kobj_type
-shm destruction moved to kobject release function
-id seek was trivial.Attrshow rewritten.
-Tested against recursive fgreps-kde-personal benchmark
program
-Removed might_sleep warning (shm_unlock was global lock to
kobject_registration (fs node lock)
-Checking release code in front of all shm_destroy calls.

Patch: http://fabian.unixtech.be/kernel/shmkobject090803.diff

It's against 2.6.0test2.If it's ok to you, could you apply ?

Regards,
Fabian
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.036 / U:1.664 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site