[lkml]   [2000]   [Jan]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH] 2.3.41 - cleanup file_operations structs
[ Sunday, January 23, 2000 ] James Manning wrote:
> Several factors went into making this patch:
> - Chuck Lever's inspiration from his work which helped make vm_opertions
> structs name-assigned using gcc's initializer extension. (by necessity :)
> - Alsa possibly adding some file_operations struct members soon
> - future cache optimizations may well want to move around members
> so most commonly-access stay in the first cache line (or at least
> functions that tend to get called together are in the same line)
> - Lots of #ifdef's in code just to shove in an extra NULL depending
> on kernel version
> - Makes code more readable
> - Cuts down a large # of lines from the kernel

Same patch, updated. (still just cleans up file_operations struct

- updated to 2.3.41
- cleaned up instances of leading spaces rather than tabs
- removed some benign garbage added the first time
- removed the 3 files from patch that were accepted
(arch/i386/kernel/apm.c, drivers/pci/proc.c, fs/udf/file.c)
- file count is now down from 171 to 168 :)
- 2429 LOC deleted - 980 LOC added = 1449 less kernel LOC

Miscellaneous Engineer --- IBM Netfinity Performance Development

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:56    [W:0.058 / U:33.752 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site