Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265440AbTHJNZA (ORCPT ); Sun, 10 Aug 2003 09:25:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265922AbTHJNZA (ORCPT ); Sun, 10 Aug 2003 09:25:00 -0400 Received: from vtens.prov-liege.be ([193.190.122.60]:57713 "EHLO mesepl.epl.prov-liege.be") by vger.kernel.org with ESMTP id S265440AbTHJNY7 (ORCPT ); Sun, 10 Aug 2003 09:24:59 -0400 Message-ID: From: "Frederick, Fabian" To: "'mochel@osdl.org'" Cc: "'linux-kernel@vger.kernel.org'" Subject: [PATCH] shm to sysfs rebuild. Date: Sun, 10 Aug 2003 15:24:56 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1024 Lines: 31 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/