[lkml]   [2003]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] s390 (2/7): common i/o layer.
    On Mon, Oct 06, 2003 at 04:49:25PM +0200, Martin Schwidefsky wrote:
    > > > Just checked. You right about chp_release which should do
    > > > a kfree on the struct channel_path object. But the two
    > > > other release functions are really dummy functions because
    > > > cu3088_root_dev and iucv_root are static structures.
    > >
    > > Even in that case you're screwed in case they are in modules..
    > Why? The root device are registered in the module init function
    > and unregistered in the module exit function. I fail to see the
    > problem.

    You can still have a reference to the object when the module is unloaded.

    unregistered != last reference is gone
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:49    [W:0.018 / U:128.244 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site