From: Nick Ivanter <nick@auriga.ru>
To: David Woodhouse <dwmw2@infradead.org>
Cc: mtd <mtd@infradead.org>
Subject: gc_minfree_threshold
Date: Sat, 26 Aug 2000 15:08:10 +0400 [thread overview]
Message-ID: <39A7A51A.63F2BCBB@auriga.ru> (raw)
David,
I have just noticed some strange things in the code dealing
with gc_minfree_threshold. I guess you added that code that is
why I am addressing my questions to you.
First, when you initialize c->gc_minfree_threshold to 5%
of the total Flash size, you then make sure that it is not less
than a sector size. Why? Shouldn't it rather be not less than
fmc->min_free_size?
Second, when you evaluate a gc starting criteria in
thread_should_wake(), you compare gc_minfree_threshold with
dirty_size. I guess there should be free_size instead.
Thanks,
Nick
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
next reply other threads:[~2000-08-26 11:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-08-26 11:08 Nick Ivanter [this message]
2000-08-27 10:09 ` gc_minfree_threshold David Woodhouse
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=39A7A51A.63F2BCBB@auriga.ru \
--to=nick@auriga.ru \
--cc=dwmw2@infradead.org \
--cc=mtd@infradead.org \
/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