From: "Rongfeng Tang" <rf_tang@ncic.ac.cn>
To: unlisted-recipients:; (no To-header on input)
Subject: deadlock encountered for my network file system
Date: Tue, 27 Apr 2004 16:24:10 +0800 [thread overview]
Message-ID: <20040427084347.5F7BEFB044@gatekeeper.ncic.ac.cn> (raw)
[-- Attachment #1: Type: text/plain, Size: 915 bytes --]
Hi all,
I'm encountering a deadlock problem within kernel(2.4.19smp):
A lot of data writen into a network file system and the physical memory is almost exhausted, so that the kswapd calls the kswapd_balance -> try_to_free_pages->...->shrink_cache try to free a dirty page(just name it PageA) of the file system. the file system's writepage locks the page and sends the data to a dedicated process (named ProcB)of this file system in the same node which just send the data to remote server. ProcB communicates with server by TCP/IP. when the TCP/IP layer try to alloc a free page for transmission, it also arouse the kernel to free some dirty pages, what's a pity, the PageA has been selected. Since it's locked now , the shrink_cache just calls on wait_on_page, thus a big deadlock is generated.
Is it a bug? if not, please give me some advice on how to just out of this cycle.
Thanks
Rongfeng
[-- Attachment #2: fox.gif --]
[-- Type: image/gif, Size: 9519 bytes --]
reply other threads:[~2004-04-27 8:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040427084347.5F7BEFB044@gatekeeper.ncic.ac.cn \
--to=rf_tang@ncic.ac.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®