On Fri, Mar 28, 2008 at 7:19 PM, Mike Travis <travis@sgi.com> wrote:But libbitmask has a bitmask_parsehex() too. (but thanks for the pointer to this code). Anyway, your above example is wrong, the most significant bits comes first: ffff0000,00000000,00000000,00000000,00000000,00000000,00000000,00000000 This makes it not more readable, but I think readability isn't in this case of that much importance. I further think, this problem could be easily solved, if NR_CPUS and possibly your nr_cpus_ids is somehow exported to user space. With this information, the user is not surprised to see more that 1024 bits (=CPU_SETSIZE, which is currently the glibc constant for the sched_{set,get}affinity() API). Also the glibc has the new variable cpu_set_t size API (since 2.7). Bert --
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Linus Torvalds | Linux 2.6.27 |
| Linus Torvalds | Linux 2.6.27-rc5 |
git: | |
| Linus Torvalds | Convert 'git blame' to parse_options() |
| Denis Bueno | Recovering from repository corruption |
| Jan Wielemaker | git filter-branch --subdirectory-filter, still a mistery |
| Linus Torvalds | Help with a tcl/tk gui thing.. |
| Richard Stallman | Real men don't attack straw men |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Marcos Laufer | dmesg IBM x3650 OpenBSD 4.3 |
| Paolo Supino | order |
| Corey Hickey | SFQ: backport some features from ESFQ (try 4) |
| David Miller | Re: [GIT]: Networking |
| KOSAKI Motohiro | [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin" |
| Natalie Protasevich | [BUG] New Kernel Bugs |
| usb mic not detected | 1 hour ago | Applications and Utilities |
| Problem in Inserting a module | 2 hours ago | Linux kernel |
| Treason Uncloaked | 7 hours ago | Linux kernel |
| Shared swap partition | 18 hours ago | Linux general |
| high memory | 2 days ago | Linux kernel |
| semaphore access speed | 2 days ago | Applications and Utilities |
| the kernel how to power off the machine | 2 days ago | Linux kernel |
| Easter Eggs in windows XP | 2 days ago | Windows |
| Root password | 2 days ago | Linux general |
| Where/when DNOTIFY is used? | 3 days ago | Linux kernel |
