Commit 89d790ab authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Linus Torvalds

scripts/spelling.txt: add "algined" pattern and fix typo instances

Fix typos and add the following to the scripts/spelling.txt:

  algined||aligned

While we are here, fix the "appplication" in the touched line in
drivers/block/loop.c.  Also, fix the "may not naturally ..." to
"may not be naturally ..." in the touched line in mm/page_alloc.

Link: http://lkml.kernel.org/r/1481573103-11329-9-git-send-email-yamada.masahiro@socionext.comSigned-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 550116d2
...@@ -186,7 +186,7 @@ static void __loop_update_dio(struct loop_device *lo, bool dio) ...@@ -186,7 +186,7 @@ static void __loop_update_dio(struct loop_device *lo, bool dio)
* *
* TODO: the above condition may be loosed in the future, and * TODO: the above condition may be loosed in the future, and
* direct I/O may be switched runtime at that time because most * direct I/O may be switched runtime at that time because most
* of requests in sane appplications should be PAGE_SIZE algined * of requests in sane applications should be PAGE_SIZE aligned
*/ */
if (dio) { if (dio) {
if (queue_logical_block_size(lo->lo_queue) >= sb_bsize && if (queue_logical_block_size(lo->lo_queue) >= sb_bsize &&
......
...@@ -5925,7 +5925,7 @@ static unsigned long __paginginit calc_memmap_size(unsigned long spanned_pages, ...@@ -5925,7 +5925,7 @@ static unsigned long __paginginit calc_memmap_size(unsigned long spanned_pages,
* the zone and SPARSEMEM is in use. If there are holes within the * the zone and SPARSEMEM is in use. If there are holes within the
* zone, each populated memory region may cost us one or two extra * zone, each populated memory region may cost us one or two extra
* memmap pages due to alignment because memmap pages for each * memmap pages due to alignment because memmap pages for each
* populated regions may not naturally algined on page boundary. * populated regions may not be naturally aligned on page boundary.
* So the (present_pages >> 4) heuristic is a tradeoff for that. * So the (present_pages >> 4) heuristic is a tradeoff for that.
*/ */
if (spanned_pages > present_pages + (present_pages >> 4) && if (spanned_pages > present_pages + (present_pages >> 4) &&
......
...@@ -65,6 +65,7 @@ afecting||affecting ...@@ -65,6 +65,7 @@ afecting||affecting
agaist||against agaist||against
albumns||albums albumns||albums
alegorical||allegorical alegorical||allegorical
algined||aligned
algorith||algorithm algorith||algorithm
algorithmical||algorithmically algorithmical||algorithmically
algoritm||algorithm algoritm||algorithm
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment