login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
September
»
29
Re: [RFC PATCH 1/2] Shrink compat_ioctl.c
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Andi Kleen <andi@...>
To: Matt Mackall <mpm@...>
Cc: Andi Kleen <andi@...>, Pavel Machek <pavel@...>, Ingo Molnar <mingo@...>, Linux Kernel Mailing List <linux-kernel@...>
Subject:
Re: [RFC PATCH 1/2] Shrink compat_ioctl.c
Date: Monday, September 29, 2008 - 7:38 pm
On Mon, Sep 29, 2008 at 06:27:10PM -0500, Matt Mackall wrote:
quoted text
> I'm throwing this out untested as I don't have a mixed 64/32 system > handy at the moment.
Makes sense (assuming it works, haven't tested)
quoted text
> compat_ioctl: shrink structures > > Initially, compat_ioctl.c has a ~18k table of translated ioctls. > Each table entry is 24 bytes but we can shrink this to 16: > > - use short table indexes rather than a pointer for .next values > - use unsigned ints for cmd numbers (they're 32-bit ioctls, after all) > > In addition, there's a 2k hash table that we can do away with simply > by hashifying the main table in place at init time.
You mean by using a closed hash? Acked-by: Andi Kleen <ak@linux.intel.com> -Andi --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[RFC PATCH 1/2] Shrink compat_ioctl.c
, Matt Mackall
, (Mon Sep 29, 7:27 pm)
Re: [RFC PATCH 1/2] Shrink compat_ioctl.c
, Andi Kleen
, (Mon Sep 29, 7:38 pm)
Re: [RFC PATCH 1/2] Shrink compat_ioctl.c
, Matt Mackall
, (Mon Sep 29, 7:38 pm)
[RFC PATCH 2/2] Shrink compat_ioctl.c
, Matt Mackall
, (Mon Sep 29, 7:29 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
hooanon05
[PATCH 67/67] merge aufs
Greg Kroah-Hartman
[PATCH 008/196] Chinese: add translation of volatile-considered-harmful.txt
monstr
[PATCH 33/52] [microblaze] bug headers files
Oliver Pinter
Re: x86: 4kstacks default
git
:
linux-netdev
:
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 15/37] dccp: Set per-connection CCIDs via socket options
David Miller
[GIT]: Networking
Natalie Protasevich
[BUG] New Kernel Bugs
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
11 users
and
801 guests
online.
Online users
zeekec
ocroexjqw
damienclarkijh
realestatelaabw
marblecleaning
successfuldrlg
nscalemodeltra
dfarrell356
seosoftwarertzd
aheins678
taximlihlh
Syndicate