public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* avoiding rejects
@ 2007-07-10 19:44 Andrew Morton
  2007-07-10 20:19 ` Dan Aloni
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Andrew Morton @ 2007-07-10 19:44 UTC (permalink / raw)
  To: linux-kernel


There are many situations where patching the kernel involves adding a new
item to a list, such as:

- adding a makefile line
- adding a new #include
- adding a new Kconfig entry
- adding a new PCI ID
- adding a record to feature-removal.txt
- adding a new sysctl table entry
- etc

Of course, everyone just sticks the new entry at the end of the existing
entries.  This strategy carefully maximises the opportunity for patch
rejects and leads to unhappiness.

Most of these lists are unordered anyway, so inserting the new item at a
randomly-chosen position is a better approach than just appending it.

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

end of thread, other threads:[~2007-07-11  9:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-10 19:44 avoiding rejects Andrew Morton
2007-07-10 20:19 ` Dan Aloni
2007-07-10 21:06 ` Geert Uytterhoeven
2007-07-10 22:03   ` Arnd Bergmann
2007-07-11  8:21 ` Boaz Harrosh
2007-07-11  9:44 ` Jan Engelhardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox