Messages in this thread | | | Date | Sat, 22 May 1999 14:20:06 -0700 (PDT) | From | Linus Torvalds <> | Subject | Re: [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/
| |