Commit 776f379
src: include large pages source unconditionally
Restrict the usage of the C preprocessor directive enabling large
pages support to the large pages implementation. This cleans up the
code in src/node.cc.
PR-URL: #31904
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: Denys Otrishko <shishugi@gmail.com>1 parent c27f0d1 commit 776f379Copy full SHA for 776f379
File tree
Expand file treeCollapse file tree
4 files changed
+59
-39
lines changedOpen diff view settings
Filter options
- src
- large_pages
Expand file treeCollapse file tree
4 files changed
+59
-39
lines changedOpen diff view settings
Collapse file
+2-4Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
619 | 619 | |
620 | 620 | |
621 | 621 | |
| 622 | + |
| 623 | + |
622 | 624 | |
623 | 625 | |
624 | 626 | |
| ||
850 | 852 | |
851 | 853 | |
852 | 854 | |
853 | | - |
854 | | - |
855 | | - |
856 | | - |
857 | 855 | |
858 | 856 | |
859 | 857 | |
|
Collapse file
src/large_pages/node_large_page.cc
Copy file name to clipboardExpand all lines: src/large_pages/node_large_page.cc+53-16Lines changed: 53 additions & 16 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
21 | 21 | |
22 | 22 | |
23 | 23 | |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
24 | 29 | |
25 | 30 | |
26 | 31 | |
| ||
35 | 40 | |
36 | 41 | |
37 | 42 | |
38 | | - |
39 | 43 | |
40 | 44 | |
41 | 45 | |
| ||
71 | 75 | |
72 | 76 | |
73 | 77 | |
| 78 | + |
74 | 79 | |
| 80 | + |
| 81 | + |
| 82 | + |
75 | 83 | |
76 | 84 | |
77 | 85 | |
| ||
103 | 111 | |
104 | 112 | |
105 | 113 | |
106 | | - |
| 114 | + |
107 | 115 | |
108 | 116 | |
109 | 117 | |
| ||
263 | 271 | |
264 | 272 | |
265 | 273 | |
266 | | - |
| 274 | + |
267 | 275 | |
268 | 276 | |
269 | 277 | |
| ||
294 | 302 | |
295 | 303 | |
296 | 304 | |
| 305 | + |
| 306 | + |
297 | 307 | |
298 | 308 | |
299 | 309 | |
| ||
408 | 418 | |
409 | 419 | |
410 | 420 | |
| 421 | + |
411 | 422 | |
412 | 423 | |
413 | 424 | |
| 425 | + |
| 426 | + |
| 427 | + |
| 428 | + |
| 429 | + |
| 430 | + |
| 431 | + |
| 432 | + |
| 433 | + |
| 434 | + |
| 435 | + |
| 436 | + |
| 437 | + |
414 | 438 | |
415 | | - |
416 | | - |
417 | | - |
418 | | - |
| 439 | + |
| 440 | + |
419 | 441 | |
420 | 442 | |
421 | 443 | |
422 | 444 | |
423 | 445 | |
424 | 446 | |
425 | 447 | |
| 448 | + |
| 449 | + |
| 450 | + |
426 | 451 | |
427 | 452 | |
428 | | - |
429 | | - |
430 | | - |
431 | | - |
432 | | - |
433 | | - |
434 | | - |
435 | | - |
436 | | - |
| 453 | + |
| 454 | + |
| 455 | + |
| 456 | + |
| 457 | + |
| 458 | + |
| 459 | + |
| 460 | + |
| 461 | + |
| 462 | + |
| 463 | + |
| 464 | + |
| 465 | + |
| 466 | + |
| 467 | + |
| 468 | + |
| 469 | + |
| 470 | + |
| 471 | + |
| 472 | + |
| 473 | + |
437 | 474 | |
438 | 475 | |
439 | 476 | |
Collapse file
src/large_pages/node_large_page.h
Copy file name to clipboardExpand all lines: src/large_pages/node_large_page.h+1-2Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
25 | 25 | |
26 | 26 | |
27 | 27 | |
28 | | - |
29 | 28 | |
30 | | - |
31 | 29 | |
| 30 | + |
32 | 31 | |
33 | 32 | |
34 | 33 | |
|
Collapse file
+3-17Lines changed: 3 additions & 17 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
65 | 65 | |
66 | 66 | |
67 | 67 | |
68 | | - |
69 | 68 | |
70 | | - |
71 | 69 | |
72 | 70 | |
73 | 71 | |
| ||
936 | 934 | |
937 | 935 | |
938 | 936 | |
939 | | - |
940 | 937 | |
941 | 938 | |
942 | | - |
943 | | - |
944 | | - |
945 | | - |
946 | | - |
947 | | - |
948 | | - |
949 | | - |
950 | | - |
| 939 | + |
| 940 | + |
| 941 | + |
951 | 942 | |
952 | 943 | |
953 | | - |
954 | | - |
955 | | - |
956 | | - |
957 | | - |
958 | 944 | |
959 | 945 | |
960 | 946 | |
|
0 commit comments