Re: Please don't beat me up (was Re: Bugs and wishes in memory management area)

Mike Jagdis (mike@roan.co.uk)
Thu, 28 Nov 1996 09:48:03 +0000 (GMT/BST)


On Wed, 27 Nov 1996, Ingo Molnar wrote:

> with double indirection pointers we could implement some kind of garbage
> collector kernel thread(s). Kernel code has to 'get' and 'put' such
> resources, to avoid reentrancy problems.

This means mutexing each access through the pointer so it can't
change while we are using the object at the other end. It might
help the worst case but at the expense of extra overhead on every
usage of an allocated object - expensive.

Mike

-- 
.----------------------------------------------------------------------.
|  Mike Jagdis                  |  Internet:  mailto:mike@roan.co.uk   |
|  Roan Technology Ltd.         |                                      |
|  54A Peach Street, Wokingham  |  Telephone:  +44 118 989 0403        |
|  RG40 1XG, ENGLAND            |  Fax:        +44 118 989 1195        |
`----------------------------------------------------------------------'