Bug 4103 - swap is never used in 2.6.9 and above
Summary: swap is never used in 2.6.9 and above
Status: REJECTED INSUFFICIENT_DATA
Alias: None
Product: Platform Specific/Hardware
Classification: Unclassified
Component: SPARC64 (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: platform_sparc64
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-26 05:16 UTC by Grzegorz jaskiewicz
Modified: 2005-12-29 04:45 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.10
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

Description Grzegorz jaskiewicz 2005-01-26 05:16:24 UTC
Distribution: pld-linux.org  
Hardware Environment: ultra5 sparc  
Software Environment: gcc 3.4.2  
Problem Description:  
see my meminfo: 
 [gj@sparkie gj]$ cat /proc/meminfo 
MemTotal:       123504 kB 
MemFree:         83176 kB 
Buffers:          7448 kB 
Cached:          18248 kB 
SwapCached:          0 kB 
Active:          18864 kB 
Inactive:         9912 kB 
HighTotal:           0 kB 
HighFree:            0 kB 
LowTotal:       123504 kB 
LowFree:         83176 kB 
SwapTotal:      249936 kB 
SwapFree:       249936 kB 
Dirty:               0 kB 
Writeback:           0 kB 
Mapped:       18446744073708293736 kB 
Slab:             6936 kB 
CommitLimit:    311688 kB 
Committed_AS:     8720 kB 
PageTables:        384 kB 
VmallocTotal:  3145728 kB 
VmallocUsed:      1504 kB 
VmallocChunk:  3144224 kB 
HugePages_Total:     0 
HugePages_Free:      0 
Hugepagesize:     4096 kB 
 
looks to me like variable size mismatch ? 
 
Swap is "mounted" but never used. Why, I don't know. 
 
 
Steps to reproduce:  
compile kernel for 64bit sparc, and boot.  
swapon /dev/partition_with_swap 
use loads of memory, and see how oom kills your tasks because of lack of 
memory. 
Swap is never touched.
Comment 1 Adrian Bunk 2005-09-02 15:46:44 UTC
Is this issue still present in kernel 2.6.13?
Comment 2 Adrian Bunk 2005-12-29 04:45:53 UTC
Please reopen this bug if you can still reproduce it in a recent 2.6 kernel.

Note You need to log in before you can comment on or make changes to this bug.