Skip to contentSkip to conversation

Point the UNEVICTABLE_LRU config option at the documentation

PATCH In review David Howells 4 participants 5 messages Mar 16, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Point the UNEVICTABLE_LRU config option at the documentation

Point the UNEVICTABLE_LRU config option at the documentation describing the option.

---

 mm/Kconfig |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
mm/Kconfig +2 -0
index b53427a..57971d2 100644
@@ -213,6 +213,8 @@ config UNEVICTABLE_LRU
 	  will use one page flag and increase the code size a little,
 	  say Y unless you know what you are doing.
 
+	  See Documentation/vm/unevictable-lru.txt for more information.
+
 config HAVE_MLOCK
 	bool
 	default y if MMU=y

--
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/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

#2 lore raw
Quoted 6 lines · David Howells
Quoted 2 lines

Point the UNEVICTABLE_LRU config option at the documentation describing the option.

Didn't we decide a while ago that the option is pointless and the code should always be enabled?

Yeah.
CONFIG_UNEVICTABLE_LRU lost existing reason by David's good patch recently.

if nobody of nommu user post bug report in .30 age, I plan to remove this config option at .31 age.

his patch is really really good job.

--
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/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

#3 lore raw

size vmlinux
text data bss dec hex filename
6232681 747665 708608 7688954 7552fa vmlinux

size vmlinux.unevictable
text data bss dec hex filename
6239404 747985 708608 7695997 756e7d vmlinux.unevictable

It almost increases about 7K.
Many embedded guys always have a concern about size although it is very small. It's important about embedded but may not be about server.

In addition, CONFIG_UNEVICTABLE_LRU feature don't have a big impact in embedded machines which have a very small ram.
I guess many embedded guys will not use this feature.

So, I don't want to remove this configurable option. Lets not add useless size bloat in embedded system.

Quoted 18 lines · KOSAKI Motohiro
Quoted 6 lines · David Howells
Quoted 2 lines

Point the UNEVICTABLE_LRU config option at the documentation describing the option.

Didn't we decide a while ago that the option is pointless and the code should always be enabled?

Yeah.
CONFIG_UNEVICTABLE_LRU lost existing reason by David's good patch recently.

if nobody of nommu user post bug report in .30 age, I plan to remove this config option at .31 age.

his patch is really really good job.

Signature · 8 lines
Kinds regards,
Minchan Kim

--
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/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
#4 lore raw

2009/3/16 Minchan Kim <[email protected]>:

Quoted 11 lines

size vmlinux
  text    data     bss     dec     hex filename
6232681  747665  708608 7688954  7552fa vmlinux

size vmlinux.unevictable
  text    data     bss     dec     hex filename 6239404  747985  708608 7695997  756e7d vmlinux.unevictable

It almost increases about 7K.
Many embedded guys always have a concern about size although it is very small. It's important about embedded but may not be about server.

Thanks good report.
this is unintetional size to me. I'll digg it later.

Thanks!

-- kosaki

Quoted 7 lines

In addition, CONFIG_UNEVICTABLE_LRU feature don't have a big impact in embedded machines which have a very small ram.
I guess many embedded guys will not use this feature.

So, I don't want to remove this configurable option. Lets not add useless size bloat in embedded system.

--
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/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>