Changing page attributes

2008-09-21 Thread Peter Teoh
Hi, reading the source code of kmap_atomic() and kunmap_atomic() as below, I would like to ask: a. noticed that pagefault_disable() and pagefault_enable() is called across two different function - why is that necessary? b. basically, I would like to create a new page, and assign the PTE to po

Re: Server with huge memory

2008-09-21 Thread Rik van Riel
On Mon, 22 Sep 2008 09:40:43 +0900 "MinChan Kim" <[EMAIL PROTECTED]> wrote: > On Mon, Sep 22, 2008 at 8:52 AM, Rik van Riel <[EMAIL PROTECTED]> > wrote: > > On Mon, 22 Sep 2008 07:54:01 +0900 > > MinChan Kim <[EMAIL PROTECTED]> wrote: > > > >> Do You mean current page reclaim mechanism have a prob

Re: Server with huge memory

2008-09-21 Thread MinChan Kim
On Mon, Sep 22, 2008 at 8:52 AM, Rik van Riel <[EMAIL PROTECTED]> wrote: > On Mon, 22 Sep 2008 07:54:01 +0900 > MinChan Kim <[EMAIL PROTECTED]> wrote: > >> Do You mean current page reclaim mechanism have a problem ? >> As you know, kernel already have reclaimed fs-specific metadata. >> What is a pr

Re: Server with huge memory

2008-09-21 Thread Rik van Riel
On Mon, 22 Sep 2008 07:54:01 +0900 MinChan Kim <[EMAIL PROTECTED]> wrote: > Do You mean current page reclaim mechanism have a problem ? > As you know, kernel already have reclaimed fs-specific metadata. > What is a problem? The problem is that that buffer heads are only reclaimed when the pages i

Re: Server with huge memory

2008-09-21 Thread MinChan Kim
* Rik van Riel ([EMAIL PROTECTED]) wrote: > On Wed, 17 Sep 2008 17:52:00 -0300 > Edesio Costa e Silva <[EMAIL PROTECTED]> wrote: > > > I am running Linux 32 bits (2.6.26.5-bigsmp) on a virtual machine with 64 GB > > of RAM. When I try to create a large file, for example "dd if=/dev/null > > of=/tm

Re: Automatic USB drive detection/Disconnection in user application!!!

2008-09-21 Thread V . Ravikumar
You can find this information in syslogd message or using dmesg command. Also have a look at API klogctl() which reads kernel log message in that you can find file system mapping of usb device.But you need to parsing on the the data Take some information of newly detected sb device from /proc/us

Re: Automatic USB drive detection/Disconnection in user application!!!

2008-09-21 Thread Nalajala Murali
Any one can help me how can i use Dbus to get the USB events ( detection/disconnection ) onto application level!!! aslo please provide me a good reference document links. On Sun, Sep 21, 2008 at 12:00 PM, Nalajala Murali <[EMAIL PROTECTED]> wrote: > The file has the information which i am not inte