[lkml]   [2002]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] hyper-threading information in /proc/cpuinfo
    On Fri, Oct 25, 2002 at 05:30:19PM -0400, Robert Love wrote:

    > +#ifdef CONFIG_SMP
    > + if (cpu_has_ht) {
    > + seq_printf(m, "physical processor ID\t: %d\n", phys_proc_id[n]);
    > + seq_printf(m, "number of siblings\t: %d\n", smp_num_siblings);
    > + }
    > +#endif

    Something else looks suspect to me here.
    smp_num_siblings is going to say the same value on every CPU in the
    system. It's questionable whether we want to print it out n times.


    | Dave Jones.
    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 13:30    [W:0.032 / U:0.100 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site