All of lore.kernel.org
 help / color / mirror / Atom feed
From: yani.ioannou@gmail.com (Yani Ioannou)
To: lm-sensors@vger.kernel.org
Subject: [RFC PATCH 2.6.12-rc3] dynamic driver sysfs callbacks and RFC on
Date: Thu, 19 May 2005 06:25:57 +0000	[thread overview]
Message-ID: <2538186705050901066def6d69@mail.gmail.com> (raw)
In-Reply-To: <2538186705042422366584aff4@mail.gmail.com>

Two patches for comment, first defining a set of macros as I
previously described would be useful, and second an initial patch to
adapt net/core/net-sysfs.c to take advantage of dynamic callbacks
(although this needs testing) using said macros.

Before: 15K linux-2.6.12-rc4/usr/src/linux/net/core/net-sysfs.o
After: 12K  linux-2.6.12-rc4-sysfsdyncallback-net-sysfs/net/core/net-sysfs.o

Obviously not as big a difference as with adm1026, but that's to be
expected, it doesn't define near as many attributes. I think the patch
cleans up the code aesthetically quite a bit too. If someone could
work out how to get rid of the macros for sprintfs (FIELD_FORMAT, etc)
that would be even better.

Night...errr morning :-),
Yani
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-linux-2.6.12-rc4-sysfsdyncallback-datamacros.diff
Type: text/x-patch
Size: 3218 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20050509/d3771d4c/patch-linux-2.6.12-rc4-sysfsdyncallback-datamacros.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-linux-2.6.12-rc4-sysfsdyncallback-net-sysfs.diff
Type: text/x-patch
Size: 7291 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20050509/d3771d4c/patch-linux-2.6.12-rc4-sysfsdyncallback-net-sysfs.bin

  parent reply	other threads:[~2005-05-19  6:25 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-19  6:25 [RFC PATCH 2.6.12-rc3] dynamic driver sysfs callbacks and RFC on Yani Ioannou
2005-05-19  6:25 ` Greg KH
2005-05-19  6:25 ` Grant Coady
2005-05-19  6:25 ` Dmitry Torokhov
2005-05-19  6:25 ` Jean Delvare
2005-05-19  6:25 ` Dmitry Torokhov
2005-05-19  6:25 ` Greg KH
2005-05-19  6:25 ` Greg KH
2005-05-19  6:25 ` Dmitry Torokhov
2005-05-19  6:25 ` Yani Ioannou
2005-05-19  6:25 ` Yani Ioannou
2005-05-19  6:25 ` Greg KH
2005-05-19  6:25 ` Greg KH
2005-05-19  6:25 ` Yani Ioannou
2005-05-19  6:25 ` Greg KH
2005-05-19  6:25 ` Jean Delvare
2005-05-19  6:25 ` Yani Ioannou
2005-05-19  6:25 ` Greg KH
2005-05-19  6:25 ` Yani Ioannou
2005-05-19  6:25 ` Yani Ioannou
2005-05-19  6:25 ` Grant Coady
2005-05-19  6:25 ` Grant Coady
2005-05-19  6:25 ` Yani Ioannou
2005-05-19  6:25 ` Greg KH
2005-05-19  6:25 ` Dmitry Torokhov
2005-05-19  6:25 ` Greg KH
2005-05-19  6:25 ` Greg KH
2005-05-19  6:25 ` Greg KH
2005-05-19  6:25 ` Yani Ioannou
2005-05-19  6:25 ` Yani Ioannou
2005-05-19  6:25 ` Jean Delvare
2005-05-19  6:25 ` Yani Ioannou
2005-05-19  6:25 ` Yani Ioannou [this message]
2005-05-19  6:25 ` [RFC PATCH 2.6.12-rc3] dynamic driver sysfs callbacks and RFC Jean Delvare
2005-05-19  6:25 ` [RFC PATCH 2.6.12-rc3] dynamic driver sysfs callbacks and RFC on Yani Ioannou
2005-05-19  6:25 ` Dmitry Torokhov
2005-05-19  6:25 ` Yani Ioannou
2005-05-19  6:25 ` Jean Delvare
2005-05-19  6:25 ` Dmitry Torokhov
2005-05-19  6:25 ` Yani Ioannou
2005-05-19  6:25 ` Yani Ioannou
2005-05-19  6:25 ` Greg KH
2005-05-19  6:25 ` Yani Ioannou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2538186705050901066def6d69@mail.gmail.com \
    --to=yani.ioannou@gmail.com \
    --cc=lm-sensors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.