Re: Illegal use of reserved word in system.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2005-05-19 at 14:27 +0200, Arjan van de Ven wrote:

> 
> >  	SMP
> userspace should not care! Any app that looks at this is buggy; remember
> the fully preemptable nature of userspace

Hmm, you seem to be assuming what userspace is looking at SMP for.  Say
you might want to run some daemon on each CPU and set affinity
accordingly, or some other reason.  But I guess you can get that
information from looking at /proc/cpuinfo, and maybe someplace else.

Really, what is needed is to get the kernel to give all the information
to libc that is needed via /proc, /sysfs, system calls, etc. such that
we can remove /usr/include/{linux,asm,asm-generic} and not worry about
user programs using kernel headers.  Users will continue to include them
as long as they are in /usr/include.  Heck what does /usr stand for
anyway?  It's not /krnl/include.

-- Steve


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux