Skip to contentSkip to conversation

2.5.30 swaps with no swap device mounted!!

BUG William Lee Irwin III 3 participants 5 messages Aug 19, 2002 – Aug 28, 2002 Memory management

lore
Share & tools
lore
#0 lore raw

Due to the natural slab shootdown laziness issues, I turned off swap. The kernel reported that it had successfully unmounted the swap device, and for several days ran without it. Tonight, it went 91MB into swap on the supposedly unmounted swap device!

Yeah, it's 2.5.30, but this wasn't a crashbox that did it, and no one's touched swap for a while anyway.

I'm about to hit the sack, so hopefully someone else can look into it while I'm resting. This one will probably be a PITA to reproduce and I already shot down one bad bug tonight anyway.

Cheers,
Bill

#1 lore raw

Hi,

Quoted 4 lines · William Lee Irwin III

Due to the natural slab shootdown laziness issues, I turned off swap. The kernel reported that it had successfully unmounted the swap device, and for several days ran without it. Tonight, it went 91MB into swap on the supposedly unmounted swap device!

It might be interesting to see what happens if you unplug the swap device after umounting.

Thunder

Signature · 4 lines
--./../...-/. -.--/---/..-/.-./..././.-../..-. .---/..-/.../- .-
--/../-./..-/-/./--..-- ../.----./.-../.-.. --./../...-/. -.--/---/..-
.- -/---/--/---/.-./.-./---/.--/.-.-.-
--./.-/-.../.-./.././.-../.-.-.-
#2 lore raw

Hi!

Quoted 7 lines
Quoted 4 lines

Due to the natural slab shootdown laziness issues, I turned off swap. The kernel reported that it had successfully unmounted the swap device, and for several days ran without it. Tonight, it went 91MB into swap on the supposedly unmounted swap device!

It might be interesting to see what happens if you unplug the swap device after umounting.

In the same way it might be interesting to see what happens if you put cigarette into gasoline tank?
Pavel

Signature · 7 lines
Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt,
details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/
#3 lore raw

Hi,

Quoted 5 lines · Pavel Machek
Quoted 2 lines

It might be interesting to see what happens if you unplug the swap device after umounting.

In the same way it might be interesting to see what happens if you put cigarette into gasoline tank?

Well, you never know what unregistering does. It might happen to be ignored for swap, once unregistered.

Thunder

Signature · 4 lines
--./../...-/. -.--/---/..-/.-./..././.-../..-. .---/..-/.../- .-
--/../-./..-/-/./--..-- ../.----./.-../.-.. --./../...-/. -.--/---/..-
.- -/---/--/---/.-./.-./---/.--/.-.-.-
--./.-/-.../.-./.././.-../.-.-.-
#4 lore raw

Hi!

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

It might be interesting to see what happens if you unplug the swap device after umounting.

In the same way it might be interesting to see what happens if you put cigarette into gasoline tank?

Well, you never know what unregistering does. It might happen to be ignored for swap, once unregistered.

I guess it will crash and burn, I'd suggest at least unmounting all filesystems prior to that test.
Pavel

Signature · 2 lines
Casualities in World Trade Center: ~3k dead inside the building,
cryptography in U.S.A. and free speech in Czech Republic.