lkml.org 
[lkml]   [2009]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v2] Show kernel stack usage to /proc/meminfo and OOM log
Date
KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> wrote:

> + int pages = THREAD_SIZE / PAGE_SIZE;

Bad assumption. On FRV, for example, THREAD_SIZE is 8K and PAGE_SIZE is 16K.

David


\
 
 \ /
  Last update: 2009-07-01 17:21    [W:0.063 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site