[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

BOUNCE rtl@rtlinux.org: Approval required: Non-member submissionfrom [Tomasz Motylewski <motyl@stan.chemie.unibas.ch>] (fwd)



>From owner-rtl Fri May 11 05:06:45 2001
Received: from crds.chemie.unibas.ch (root@crds.chemie.unibas.ch [131.152.105.107])
	by hq.fsmlabs.com (8.11.2/8.11.2) with ESMTP id f4BB6hJ04964
	for <rtl@rtlinux.org>; Fri, 11 May 2001 05:06:44 -0600
Received: from localhost (motyl@localhost)
	by crds.chemie.unibas.ch (8.9.3+3.2W/8.9.3/rchk1.19) with ESMTP id NAA03577;
	Fri, 11 May 2001 13:02:34 +0200
Date: Fri, 11 May 2001 13:02:34 +0200 (CEST)
From: Tomasz Motylewski <motyl@stan.chemie.unibas.ch>
To: =?iso-8859-1?Q?S=E9bastien?= GAUME <sgaume@b2i-toulouse.com>
cc: rtl@rtlinux.org
Subject: Re: [rtl] Mbuff module unloadable
In-Reply-To: <3AFBA65E.C9FD0F47@b2i-toulouse.com>
Message-ID: <Pine.LNX.4.21.0105111259580.28881-100000@crds.chemie.unibas.ch>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

> I use shm_allocate in the init_module and shm_deallocate in the
> cleanup_module. The only one thing (according to me) that may cause
> trouble is that casts are made while using shm_allocate and
> shm_deallocate. Let's have a look at the following code :


How do you access in it user space? Look in /proc/mbuff/regions/NAME_MEM/*
and see whether it is kernel or user space which uses it.

May be you have forgotten to free it from user space.

Best regards,
--
Tomek