Using mach_convert_device_to_port() in the device pager

2013-09-17 Thread Marin Ramesa
This is more a question than a patch. Why don't the device pager hash functions use the device server routines to track the device associated ports? If the the devices and associated ports are not in one-to-one correspodence, why do hash functions take ports as arguments, why not simply device

[RFC] GDB Fixes

2013-09-17 Thread David Michael
Hi, Recent changes in mig/Hurd have broken GDB's build process. I've appended my changes here and would appreciate any feedback. (Apologies if this is better sent to a GDB mailing list; I'm hoping someone here can tell me if I'm doing something stupid with mig output.) The first part fixes an aw

Small cleanup of the device server routines

2013-09-17 Thread Marin Ramesa
What follows is a small cleanup of the device server routines. [PATCH 1/4] remove register qualifiers [PATCH 2/4] coding style changes [PATCH 3/4] remove lint code [PATCH 4/4] add comments after endifs

[PATCH 1/4] remove register qualifiers

2013-09-17 Thread Marin Ramesa
* device/ds_routines.c: Remove register qualifiers. --- device/ds_routines.c | 65 ++-- 1 file changed, 32 insertions(+), 33 deletions(-) diff --git a/device/ds_routines.c b/device/ds_routines.c index 68589de..73571dc 100644 --- a/device/ds_routine

[PATCH 4/4] add comments after endifs

2013-09-17 Thread Marin Ramesa
* device/ds_routines.c [CONFIG_PCMCIA, CONFIG_INET, LINUX_DEV, MACH_HYP]: Add comments after endifs. --- device/ds_routines.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/device/ds_routines.c b/device/ds_routines.c index 3cf5e20..5282a8d 100644 --- a/devic

[PATCH 2/4] coding style changes

2013-09-17 Thread Marin Ramesa
* device/ds_routines.c: Coding style changes. --- device/ds_routines.c | 80 ++-- 1 file changed, 40 insertions(+), 40 deletions(-) diff --git a/device/ds_routines.c b/device/ds_routines.c index 73571dc..12b0fa9 100644 --- a/device/ds_routines.c ++

[PATCH 3/4] remove lint code

2013-09-17 Thread Marin Ramesa
* device/ds_routines.c [lint]: Remove ifdefs and associated code. --- device/ds_routines.c | 13 - 1 file changed, 13 deletions(-) diff --git a/device/ds_routines.c b/device/ds_routines.c index 12b0fa9..3cf5e20 100644 --- a/device/ds_routines.c +++ b/device/ds_routines.c @@ -1080,11

Re: [PATCH 10/16] hurd: add fsys_get_children

2013-09-17 Thread David Michael
Hi, On Tue, Jul 30, 2013 at 5:59 AM, Justus Winter <4win...@informatik.uni-hamburg.de> wrote: > * hurd/fsys.defs: Add fsys_get_children. > * hurd/fsys_reply.defs: Add fsys_get_children. While trying to build the latest changes, this seems to result in a new compile failure. The file libdiskfs/bo

Re: cgroupfs, /hurd/proc and subhurds

2013-09-17 Thread Justus Winter
Quoting Ludovic =?utf-8?Q?Court=C3=A8s?= (2013-09-17 13:47:23) > Hi! > > Justus Winter <4win...@informatik.uni-hamburg.de> skribis: > > > Linux has this feature called cgroups. It groups processes (threads) > > together in groups, furthermore so called controllers can be used to > > restrict the

Re: cgroupfs, /hurd/proc and subhurds

2013-09-17 Thread Ludovic Courtès
Hi! Justus Winter <4win...@informatik.uni-hamburg.de> skribis: > Linux has this feature called cgroups. It groups processes (threads) > together in groups, furthermore so called controllers can be used to > restrict the use of various resources (like cpu time, memory) on a > per-group basis. Isn