public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] umount leaks /dev/flash/ device slots
@ 2009-09-04  9:41 Stanislav Meduna
  2009-09-04 10:11 ` [ECOS] CPULoad on i386 Jim Bradleigh
  2013-11-14 10:15 ` [ECOS] Re: umount leaks /dev/flash/ device slots Daniel Zebralla
  0 siblings, 2 replies; 4+ messages in thread
From: Stanislav Meduna @ 2009-09-04  9:41 UTC (permalink / raw)
  To: eCos Discussion

Hi,

it looks like the mount/umount leak slots in the flashiodev_table.

I.e. if I repeatedly do mount/umount /dev/flash/fis/fs, each
mount allocates one slot, but umount fails to free it. After some
time all the CYGNUM_IO_FLASH_BLOCK_DEVICES slots of flashiodev_table
are filled with a reference to this partition and further mounts fail.

Flash is special in that a reference that is no more needed
has to be cleaned by calling CYG_IO_SET_CONFIG_CLOSE. My guess
is that the umount is not doing this, but I know these
layers too little to be able to quickly find the problem.

Thanks
-- 
                                   Stano

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-11-14 10:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-04  9:41 [ECOS] umount leaks /dev/flash/ device slots Stanislav Meduna
2009-09-04 10:11 ` [ECOS] CPULoad on i386 Jim Bradleigh
2009-09-04 15:09   ` Jim Bradleigh
2013-11-14 10:15 ` [ECOS] Re: umount leaks /dev/flash/ device slots Daniel Zebralla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).