History

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.

Masahiro Yamada committed 9 years ago

Commit 89d790a1 parent 550116d3 files · +3 −2Browse files

Unified · Split

3 files
  1. drivers/block/loop.c +1 −1
  2. mm/page_alloc.c +1 −1
  3. scripts/spelling.txt +1 −0
drivers/block/loop.c+1−1
@@ -186,7 +186,7 @@ static void __loop_update_dio(struct loop_device *lo, bool dio) · 185 unmodified lines
186 *186 *
187 * TODO: the above condition may be loosed in the future, and187 * TODO: the above condition may be loosed in the future, and
188 * direct I/O may be switched runtime at that time because most188 * direct I/O may be switched runtime at that time because most
189 * of requests in sane appplications should be PAGE_SIZE algined189 * of requests in sane applications should be PAGE_SIZE aligned
190 */190 */
191 if (dio) {191 if (dio) {
192 if (queue_logical_block_size(lo->lo_queue) >= sb_bsize &&192 if (queue_logical_block_size(lo->lo_queue) >= sb_bsize &&
mm/page_alloc.c+1−1
@@ -5925,7 +5925,7 @@ static unsigned long __paginginit calc_memmap_size(unsigned long spanned_pages, · 5924 unmodified lines
5925 * the zone and SPARSEMEM is in use. If there are holes within the5925 * the zone and SPARSEMEM is in use. If there are holes within the
5926 * zone, each populated memory region may cost us one or two extra5926 * zone, each populated memory region may cost us one or two extra
5927 * memmap pages due to alignment because memmap pages for each5927 * memmap pages due to alignment because memmap pages for each
5928 * populated regions may not naturally algined on page boundary.5928 * populated regions may not be naturally aligned on page boundary.
5929 * So the (present_pages >> 4) heuristic is a tradeoff for that.5929 * So the (present_pages >> 4) heuristic is a tradeoff for that.
5930 */5930 */
5931 if (spanned_pages > present_pages + (present_pages >> 4) &&5931 if (spanned_pages > present_pages + (present_pages >> 4) &&
scripts/spelling.txt+1−0
@@ -65,6 +65,7 @@ afecting||affecting · 64 unmodified lines
65agaist||against65agaist||against
66albumns||albums66albumns||albums
67alegorical||allegorical67alegorical||allegorical
68algined||aligned
68algorith||algorithm69algorith||algorithm
69algorithmical||algorithmically70algorithmical||algorithmically
70algoritm||algorithm71algoritm||algorithm