Files
tegra-linux-noble/include/linux
Theodore Ts'o 8e18e2941c [PATCH] inode_diet: Replace inode.u.generic_ip with inode.i_private
The following patches reduce the size of the VFS inode structure by 28 bytes
on a UP x86.  (It would be more on an x86_64 system).  This is a 10% reduction
in the inode size on a UP kernel that is configured in a production mode
(i.e., with no spinlock or other debugging functions enabled; if you want to
save memory taken up by in-core inodes, the first thing you should do is
disable the debugging options; they are responsible for a huge amount of bloat
in the VFS inode structure).

This patch:

The filesystem or device-specific pointer in the inode is inside a union,
which is pretty pointless given that all 30+ users of this field have been
using the void pointer.  Get rid of the union and rename it to i_private, with
a comment to explain who is allowed to use the void pointer.  This is just a
cleanup, but it allows us to reuse the union 'u' for something something where
the union will actually be used.

[judith@osdl.org: powerpc build fix]
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Judith Lebzelter <judith@osdl.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-09-27 08:26:17 -07:00
..
2006-08-03 16:56:02 -04:00
2006-09-07 15:57:12 +01:00
2006-08-31 00:02:15 -04:00
2006-09-11 13:32:30 -04:00
2006-09-23 21:03:52 -05:00
2006-06-27 17:32:38 -07:00
2006-09-25 21:08:39 -07:00
2006-09-22 23:24:30 -04:00
2006-06-26 09:58:36 -07:00
2006-07-03 19:44:51 -07:00
2006-05-08 16:32:05 -07:00
2006-06-08 15:14:23 -07:00
2006-09-26 08:48:54 -07:00
2006-07-01 09:56:03 -07:00
2006-06-23 02:07:36 -07:00
2006-09-27 08:26:10 -07:00
2006-09-22 15:18:47 -07:00
2006-06-25 10:01:19 -07:00
2006-07-28 21:02:00 -07:00
2006-09-26 10:52:28 +02:00
2006-07-03 15:27:03 -07:00
2006-09-26 15:38:52 -07:00
2006-07-03 15:27:03 -07:00
2006-06-20 20:24:58 -07:00
2006-08-21 10:02:50 +02:00
2006-09-22 14:53:32 -07:00
2006-09-22 15:20:25 -07:00
2006-06-21 12:40:49 -07:00
2006-09-27 08:26:10 -07:00
2006-07-03 15:27:00 -07:00
2006-07-14 21:53:56 -07:00
2006-06-05 12:29:17 -07:00
2006-09-26 08:48:47 -07:00
2006-07-14 21:53:55 -07:00
2006-06-25 10:01:13 -07:00
2006-09-22 14:54:20 -07:00
2006-08-27 11:01:32 -07:00
2006-09-26 08:48:49 -07:00
2006-09-26 08:48:48 -07:00
2006-06-25 10:01:09 -07:00
2006-09-26 17:43:54 -07:00
2006-08-19 17:44:31 -04:00
2006-06-28 15:54:27 -07:00
2006-09-25 21:08:37 -07:00
2006-07-03 19:48:25 -07:00
2006-06-23 07:42:49 -07:00
2006-06-25 10:01:06 -07:00
2006-06-25 10:01:06 -07:00
2006-09-26 08:49:04 -07:00
2006-09-26 08:48:44 -07:00
2006-06-25 10:01:14 -07:00
2006-06-30 11:25:38 -07:00
2006-09-22 14:55:02 -07:00
2006-09-22 14:53:36 -07:00
2006-06-23 07:43:06 -07:00
2006-09-26 08:48:58 -07:00
2006-06-30 18:25:18 +02:00
2006-07-10 13:24:25 -07:00
2006-09-26 08:48:44 -07:00