Re: executing insmod hangs the entire os

2015-02-18 Thread Valdis . Kletnieks
On Wed, 18 Feb 2015 12:33:57 +0530, noyb noybee said: Wasn't that implemented from version 3 and not 2.6? Another problem is you're developing against 2.6. ducks :) pgp226XpWyz1H.pgp Description: PGP signature ___ Kernelnewbies mailing list

unlikely compiler flag propagation

2015-02-18 Thread Matthias Brugger
Hi all, I have a question about the unlikely compiler flag. When a called function is only returns an error with the unlikely flag set, should I set the unlikely compiler flag for the return value check in the callee as well? For example: int function_one(int *list, int num_elements) { int

Re: unlikely compiler flag propagation

2015-02-18 Thread Nicholas Mc Guire
On Wed, 18 Feb 2015, Greg KH wrote: On Wed, Feb 18, 2015 at 07:09:47PM +0100, Matthias Brugger wrote: Hi all, I have a question about the unlikely compiler flag. When a called function is only returns an error with the unlikely flag set, should I set the unlikely compiler flag for the

Re: unlikely compiler flag propagation

2015-02-18 Thread Matthias Brugger
Hi Greg, hi all, 2015-02-18 19:24 GMT+01:00 Greg KH g...@kroah.com: On Wed, Feb 18, 2015 at 07:09:47PM +0100, Matthias Brugger wrote: Hi all, I have a question about the unlikely compiler flag. When a called function is only returns an error with the unlikely flag set, should I set the

Re: unlikely compiler flag propagation

2015-02-18 Thread Valdis . Kletnieks
On Wed, 18 Feb 2015 19:38:01 +0100, Nicholas Mc Guire said: On Wed, 18 Feb 2015, Greg KH wrote: interesting - would you have a reference to some talk/paper/data/... ? Test for yourself :) config PROFILE_ANNOTATED_BRANCHES bool Trace likely/unlikely profiler select

Re: unlikely compiler flag propagation

2015-02-18 Thread Greg KH
On Wed, Feb 18, 2015 at 07:35:37PM +0100, Matthias Brugger wrote: Hi Greg, hi all, 2015-02-18 19:24 GMT+01:00 Greg KH g...@kroah.com: On Wed, Feb 18, 2015 at 07:09:47PM +0100, Matthias Brugger wrote: Hi all, I have a question about the unlikely compiler flag. When a called function

Re: unlikely compiler flag propagation

2015-02-18 Thread Nicholas Mc Guire
On Wed, 18 Feb 2015, valdis.kletni...@vt.edu wrote: On Wed, 18 Feb 2015 19:38:01 +0100, Nicholas Mc Guire said: On Wed, 18 Feb 2015, Greg KH wrote: interesting - would you have a reference to some talk/paper/data/... ? Test for yourself :) config PROFILE_ANNOTATED_BRANCHES

Re: unlikely compiler flag propagation

2015-02-18 Thread Greg KH
On Wed, Feb 18, 2015 at 07:09:47PM +0100, Matthias Brugger wrote: Hi all, I have a question about the unlikely compiler flag. When a called function is only returns an error with the unlikely flag set, should I set the unlikely compiler flag for the return value check in the callee as well?

Re: executing insmod hangs the entire os

2015-02-18 Thread noyb noybee
On Wed, Feb 18, 2015 at 12:33 PM, noyb noybee afzal...@gmail.com wrote: Wasn't that implemented from version 3 and not 2.6? Apparently not. Sorry for the mistake. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org

Re: Linux do_coredump() and SMP systems

2015-02-18 Thread Greg KH
On Wed, Feb 18, 2015 at 11:44:32AM +0530, Sudharsan Vijayaraghavan wrote: We are doing prototype so much change have gone into kernel , we are finding it difficult to upgrade to latest immediately What changes are you making to the kernel that you are sticking with such an old version (3.8 is 2