lkml.org 
[lkml]   [1999]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Improving send_sigio() scalability


On Thu, 20 May 1999, Richard Gooch wrote:
> >
> > > + if ((fown->euid != 0) &&
> > > + (fown->euid ^ p->suid) && (fown->euid ^ p->uid) &&
> > > + (fown->uid ^ p->suid) && (fown->uid ^ p->uid))
> >
> > Why don't you use != when that is what you mean?
>
> Good question. Why not take that up with the original author of those
> lines? I just moved them as-is, as I wanted to have minimal impact.

It used to do noticeably better compiler-wise. I don't know if newer
versions of gcc have made ^ and != generate the same code.

Linus


-
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/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.065 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site