[lkml]   [2004]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: finding out the boot cpu number from userspace
    On Llu, 2004-08-02 at 13:16, Arjan van de Ven wrote:
    > Hi,
    > assuming cpu 0 is the boot cpu sounds fragile/incorrect, but for irqbalanced
    > I'd like to find out which cpu is the boot cpu, is there a good way of doing
    > so ?
    > The reason for needing this is that some firmware only likes running on the
    > boot cpu so I need to bind firmware-related irq's to that cpu ideally.

    Grab the physical CPU id during boot up and stick it in the
    /proc/cpuinfo as another information line "Boot device: Yes/no"

    Just don't use "Processor" in the string or some glibc's start getting
    strange ideas about the CPU count.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 14:04    [W:0.020 / U:10.868 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site