Re: [patch?] unpin sysfs directories, saving ~0.5MB

From: Adam J. Richter (adam_at_yggdrasil.com)
Date: 12/09/04

  • Next message: Ulrich Windl: "Re: [RFC] New timeofday proposal (v.A1)"
    Date:	Wed, 8 Dec 2004 23:42:34 -0800
    To: greg@kroah.com, maneesh@in.ibm.com, viro@parcelfarce.linux.theplanet.co.uk
    
    

            Sorry, I forgot to include a change to a header file
    in the patch for unpinning sysfs directories. Here it is.

                        __ ______________
    Adam J. Richter \ /
    adam@yggdrasil.com | g g d r a s i l

    Signed-off-by: Adam J. Richter <adam@yggdrasil.com>

    --- linux-2.6.10-rc2-bk16/include/linux/kobject.h 2004-11-17 18:59:17.000000000 +0800
    +++ linux/include/linux/kobject.h 2004-12-03 22:03:45.000000000 +0800
    @@ -38,7 +38,7 @@
             struct kobject * parent;
             struct kset * kset;
             struct kobj_type * ktype;
    - struct dentry * dentry;
    + struct sysfs_dir * sysfs_dir;
     };
     
     extern int kobject_set_name(struct kobject *, const char *, ...)
    -
    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/


  • Next message: Ulrich Windl: "Re: [RFC] New timeofday proposal (v.A1)"

    Relevant Pages

    • Re: [announcement, patch] real-time interrupts for the Linux kernel
      ... | attention for a new patch that adds hard real time support to the ... | Bernhard Kuhn, Senior Software Engineer, Metrowerks ... | - To unsubscribe from this list: ...
      (Linux-Kernel)
    • Re: [PATCH] Stairacse scheduler v6.E for 2.6.7-rc3
      ... I am assuming the 267-rc3 patch will not go ... > To unsubscribe from this list: ... Do You Yahoo!? ... Mail has the best spam protection around ...
      (Linux-Kernel)
    • Re: Random file I/O regressions in 2.6
      ... > the access patterns. ... Let me see how this patch does with a DSS benchmark. ... >> might be loosing some benefits of some of the optimization because ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: kswapd sucking up CPU / bugs database
      ... > seem to find any sort ... Search for the patch here. ... I don't know any web to download patches, ... unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe ...
      (RedHat)
    • [PATCH] remove use global lock list from lockd
      ... What anyone think about this patch? ... this patch remove play with global lock list and use interlnal list ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)