All of lore.kernel.org
 help / color / mirror / Atom feed
* RFC  -- /proc/patches to track development
@ 2006-11-15  1:17 Marty Leisner
  2006-11-15  1:46 ` Jan Engelhardt
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Marty Leisner @ 2006-11-15  1:17 UTC (permalink / raw)
  To: linux-kernel

I always want to know WHAT I'm running (or people I'm working with
are running) rather than  "guessing" ("do you have the most current 
patch" "I think so")

I've been a proponent of capturing .config information SOMEPLACE where
you can look at it at runtime...(it took a while but its there now).


In /proc/patches there would be a series of comments (perhaps including
file, date and time) of various patches you want to monitor.  

It would be enabled by something like

in file foo.c:
PATCH_COMMENT("this enables the foo feature");


In membar.c:
PATCH_COMMENT("go to the bar on saturday");
...
PATCH_COMMENT("watch how much you drink");


and in /proc/patches:

foo.c: compiled <date> <time>:this enables the foo feature
membar.c: compiled <date> <time>:go to the bar on saturday
member.c: compiled <date> <time>:watch how much you drink

There would be a Kconfig flag whether or not to enable this (i.e.
production kernels would not need it,
hacked kernels would, it could always be there if you're willing to
increase the footprint).

Instead of looking for aberrant behavior to identify patches, you could easily
see things with cat.

Seems very easy and has high ROI if you need to track patched kernels locally.


marty



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-11-16 15:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-15  1:17 RFC -- /proc/patches to track development Marty Leisner
2006-11-15  1:46 ` Jan Engelhardt
2006-11-15 14:18 ` Erik Mouw
2006-11-16 15:22 ` Hesse, Christian

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.