On Tue, 4 Jun 2002, chas williams wrote:

> In message <[EMAIL PROTECTED]>,"Srikanth Vishw
> anathan" writes:
> >Using kmalloc means a memory leak when you stop AFS. I don't think
> >afs_getevent() and afs_addevent() should be a problem. How about just
> >replacing sleep and wake_up with add_wait_queue/remove_wait_queue ?
>
> i know it would leak, but that didnt concern me a great deal.  at
> shutdown you can just go through the hash table and free the memory.
> the addition of afs_addevent() makes the behavior of the event code
> slightly different from other platforms.  is that bad?  i dont know.

We beat this topic once before; As long as we're aware of the difference
(and we are) it's not a problem; The code was all checked to make sure it
was ok. Better to not leak.


_______________________________________________
OpenAFS-devel mailing list
[EMAIL PROTECTED]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to