- add a waitq that is woken when someone wants a buffer who will block - fix coherency issue in lc_sort() - simplify lc_lookup - add lc_add, which is identical to lc_addtail (like lc_put* variants)
- add a waitq that is woken when someone wants a buffer who will block
- fix coherency issue in lc_sort()
- simplify lc_lookup
- add lc_add, which is identical to lc_addtail (like lc_put* variants)



git-svn-id: f2acecaac6fbd5a03f3d4799db58dda434111981@3511 3eda493b-6a19-0410-b2e0-ec8ea4dd8fda

pscedu/slash2-stable,pscedu/slash2-stable,pscedu/pfl,pscedu/pfl,pscedu/slash2-stable,pscedu/slash2-stable,pscedu/slash2-stable,pscedu/slash2-stable,pscedu/slash2-stable,pscedu/pfl,pscedu/pfl