>> I did an informal survey and you are right, the majority of references do useMy recollection is that I added cpulist_scnprintf later, yes. Looking at my email archives, I see the mask versions mentioned starting Feb 2004, and the list versions starting Aug 2004. My rule of thumb has been to use the mask style (00000000,0000ffff) for lower level interfaces, and the list style (0-15) for higher level interfaces. For long lists, the list style is easier for humans to read, but for one word masks, the mask style can be easier to read for -some- purposes and are more commonly used. If you throw enough user level software at them, the lists are no more or less difficult to form or parse. Hand coded C parsers are probably easier to write for the mask style, and might be closer to what low level (closer to the hardware) programmers expect. Certainly, a particular interface should not change once it goes public. Once picked for a new interface, I don't recall ever seeing any significant controversy over which one was picked. So another of my rules of thumb might apply here -- coders choice. He who writes the code gets to make the open choices. -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson <pj@sgi.com> 1.940.382.4214 --
| David Miller | [GIT]: Networking |
| Chuck Ebbert | Why do so many machines need "noapic"? |
| Rafael J. Wysocki | [Bug #11264] Invalid op opcode in kernel/workqueue |
| Arjan van de Ven | [patch] Add basic sanity checks to the syscall execution patch |
git: | |
| Elijah Newren | Trying to use git-filter-branch to compress history by removing large, obsolete bi... |
| Kevin Ballard | Re: git on MacOSX and files with decomposed utf-8 file names |
| Andreas Hildebrandt | CVS-$Id:$ replacement in git? |
| Jakub Narebski | Re: bug: git-sh-setup should not be in $PATH |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Darren Spruell | Re: OpenBSD as Virtualbox guest |
| Nick Guenther | Re: Real men don't attack straw men |
| Alexey Suslikov | OT: OpenBSD on Asus eeePC |
| Michael Chan | Re: bnx2 dirver's firmware images |
| Indan Zupancic | Re: Realtek 8111C transmit timed out |
| Alexey Dobriyan | Re: [GIT]: Networking |
| John P Poet | Realtek 8111C transmit timed out |
