[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-kernel
Subject:    Re: [PATCH] 2.3.18: siginfo data available for all signals
From:       Alan Cox <alan () lxorguk ! ukuu ! org ! uk>
Date:       1999-09-15 14:48:15
[Download RAW message or body]

> Is it? I can see a single memset(&info, 0, sizeof(info)); there (2.3.18ac4).

sys_kill.

> There are tens of similar places around the kernel (even in signal.c).
> I was planning to fix this once his patch goes in (some weeks ago I've even
> sent a patch to l-k).

Ok I didnt see that

> IMHO the latter has advantages in speeding things up (because you will
> eliminate most of the 128byte memsets and e.g. copy only 5 32bit words
> instead of 128 bytes to userland).

Agreed.

> It makes a lot of sense to use siginfo_t for passing stuff like segfault
> address, segfault reason and the like and other Unices do it that way.
> What's so odd about that?

Ok. Now I follow the intent of that. Yes it does make sense


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic