[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CABexPfE84OgdGQtKUm2JQ9_5ZBFs_pr3gdxMLYmxd=wVyBZhpQ@mail.gmail.com>
Date: Tue, 6 Dec 2011 00:28:48 +0800
From: zhihua che <zhihua.che@...il.com>
To: linux-kernel@...r.kernel.org
Subject: [Page Allocator] when is init_per_zone_wmark_min called to first
initialize the watermarks, reserved memory etc?
Hi, everyone
I'm reading the linux kernel codes, and now focusing on memory
management. I came across a simple problem:).
I know the every zone keeps three water marks to control the
allocator's behavior and I find the three watermarks is initialized in
init_per_zone_wmark_min.
Unfortunately, I can't find when this function is called FIRSTduring
the kernel booting process. I searched the source codes using LXR and
cscope and got nothing.
I guess I missed something but I have no any idea.
harvey.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists