Messages in this thread | | | From | "Albert D. Cahalan" <> | Subject | Re: [PATCH] Process pinning | Date | Tue, 17 Apr 2001 21:24:24 -0400 (EDT) |
| |
Nick Pollitt writes:
> Changes to array.c expose cpus_allowed in proc/pid/stat. ... > -%lu %lu %lu %lu %lu %lu %lu %lu %d %d\n", > +%lu %lu %lu %lu %lu %lu %lu %lu %d %d %lu\n", ... > - task->processor); > + task->processor, > + task->cpus_allowed);
This isn't good. While it might be reasonable to have an 8*sizeof(long) processor limit in the kernel, it is not OK to expose this in the API. The API's limit should be insanely high, like 256 or more. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |