Skip to contentSkip to conversation

switch atomic_t to long

PROPOSAL Ivan Kokshaysky 2 participants 2 messages Feb 29, 2004 – Mar 3, 2004 7 messages not in the archive Generic include/asm header files

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#5 lore raw
Quoted 4 lines · Paul Mackerras

Note that you don't need both "count" and "waking" to do semaphores efficiently on architectures with load-locked/store-conditional; just a "count" is sufficient. Look at the ppc implementation (or the ppc64 or sparc64 implementations, which follow it).

Indeed...
Thanks for pointing that out.

Ivan.

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#8 lore raw
Quoted 5 lines
Quoted 3 lines

vm_committed_space is in pages. 16TB of virtual space sounds rather a lot to me but I'm a fogey.

Make that 16TB of physmem+swap

There are 1TB machines today, 16TB wont be too many years off.

Anton