lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOkaeLJTeewFWpHCVBqNwmuL7nEbFYnrQ86SQOO7fVg_Uc3Q4Q@mail.gmail.com>
Date:	Sat, 24 Sep 2011 21:40:52 +0800
From:	Wizard <wizarddewhite@...il.com>
To:	linux-kernel@...r.kernel.org
Subject: Seems the comment of find_next_system_ram() is not exact

Hi, Experts

I am a newbie for linux kernel. I just read the code of
find_next_system_ram() in kernel/resource.c

I think the comment of this function is not exact. This says "Finds
the lowest memory reosurce exists within [res->start.res->end)".

While I think the code is to find the lowest memory resource overlaps
[res->start, res->end).

308:      if ((p->end >= start) && (p->start < end))

If I am not correct, please let me know. :)

BTW, I find the "reosurce" is a typo.

-- 
Wizard
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ