aboutsummaryrefslogblamecommitdiffstats
path: root/include/asm-xtensa/auxvec.h
blob: 257dec75c5af129a50b2bf52303b3b895c99765a (plain) (tree)
1
2
3
4



                         
#ifndef __XTENSA_AUXVEC_H
#define __XTENSA_AUXVEC_H

#endif
t.cgi/litmus-rt-budgetable-locks.git/.git/commit/kernel/fork.c?h=update_litmus_2019&id=037741a6d4ab2e4b0580dae97aca963d8a8dc68f'>037741a6d4ab
1da177e4c3f4

1da177e4c3f4


1da177e4c3f4



9f3acc314044
da9cbc873953
1da177e4c3f4


cddb8a5c14aa
133ff0eac95b
1da177e4c3f4
615d6e8756c8

ab516013ad9c
c59ede7b78db
1da177e4c3f4
b4f48b6363c8
1da177e4c3f4
a1e78772d72b
e2cfabdfd075
1da177e4c3f4



8141c7f3e7ae
207205a2ba26
7c3ab7381e79
ab2af1f50050
1da177e4c3f4


78fb74669e80
f201ae2356c7
5e2bf0142231
1da177e4c3f4

f8af4da3b4c1
1da177e4c3f4
893e26e61d04
8f0ab5147951
9f46080c41d5
ba96a0c88098
ca74e92b4698
ad4ecbcba728
0a4254058037
522ed7767e80
fd0928df98b9
5ad4e53bd540
7c9f8861e6c9
cdd6c482c9ff
42c4ab41a176
8e7cac79808b
3d5992d2ac7d
ba76149f47d8
d80e731ecab4
0326f5a94dde
a27bb332c04c
52f5684c8e1e
16db3d3f1170
5c9a8750a640
d83a7cb375ee
48ac3c18cc62
afaef01c0015
1da177e4c3f4


7c0f6ba682b9
1da177e4c3f4



ad8d75fff811

43d2b113241d


1da177e4c3f4
ac1b398de1ef









1da177e4c3f4


fb0a685cb95a
1da177e4c3f4
8856ae4df3e9
1da177e4c3f4


c59923a15c12
db1466b3e1bd







1da177e4c3f4





1d510750941a
1da177e4c3f4




f19b9f74b7ea



f5e10287367d
e18b890bb088
41101809a865





41101809a865

41101809a865

1da177e4c3f4

b235beea9e99
41101809a865
0d15d74a1ead



ba14a194a434
ac496bf48d97







19659c59af52

















ac496bf48d97

ba14a194a434
b69c49b78457
ba14a194a434
ac496bf48d97


ac496bf48d97
112166f88cf8


ac496bf48d97


ac496bf48d97
ca182551857c

e01e80634ecd
ac496bf48d97
ba4a45746c36
ac496bf48d97

ac496bf48d97
9b6f7e163cd0




48ac3c18cc62
ac496bf48d97
9b6f7e163cd0
ac496bf48d97

ba14a194a434





5eed6f1dff87
ba14a194a434
5eed6f1dff87

ba14a194a434

4949148ad433

b6a84016bd25
1bf4580e00a2




ba14a194a434
b69c49b78457

ba14a194a434
b69c49b78457
ac496bf48d97
9b6f7e163cd0


ac496bf48d97

9b6f7e163cd0







ac496bf48d97
112166f88cf8

ac496bf48d97

ac496bf48d97

ac496bf48d97
0f110a9b956c
ac496bf48d97




b69c49b78457
0d15d74a1ead
b235beea9e99
0d15d74a1ead
9521d39976db
0d15d74a1ead

5eed6f1dff87



0d15d74a1ead

ba14a194a434
0d15d74a1ead
ba14a194a434
0d15d74a1ead

b235beea9e99
0d15d74a1ead
f9d29946c567


b235beea9e99
0d15d74a1ead

b69c49b78457

1da177e4c3f4
e18b890bb088
1da177e4c3f4

e18b890bb088
1da177e4c3f4

e18b890bb088
1da177e4c3f4

e18b890bb088
1da177e4c3f4

3928d4f5ee37
1da177e4c3f4

e18b890bb088
1da177e4c3f4
490fc053865c
3928d4f5ee37
a670468f5e0b
490fc053865c
a670468f5e0b
027232da7c7c

490fc053865c
3928d4f5ee37



95faf6992df4






3928d4f5ee37






ba14a194a434
c6a7f5728a1d
ba14a194a434














ba14a194a434









ed52be7bfd45

ba14a194a434
c6a7f5728a1d

9b6f7e163cd0




























68f24b08ee89
1da177e4c3f4
405c0759712f


ba14a194a434
ba14a194a434
68f24b08ee89








f0b89d3958d7
68f24b08ee89
















f0b89d3958d7
68f24b08ee89
23f78d4a03c5
fb52607afcd0
e2cfabdfd075
f19b9f74b7ea
1da5c46fa965

1da177e4c3f4



d70f2a14b72a
















































655c79bb40a0







d70f2a14b72a






3928d4f5ee37
d70f2a14b72a

d70f2a14b72a

































































1ed0cc5a01a4
d70f2a14b72a










3928d4f5ee37
d70f2a14b72a


























































d34bc48f8275
d70f2a14b72a

3eda69c92d47

d70f2a14b72a

d70f2a14b72a




d34bc48f8275
d70f2a14b72a
















ea6d290ca34c

97101eb41d0d
1c5354de90c9
7283094ec3db



26db62f179d1
7283094ec3db
ea6d290ca34c




60d4de3ff7f7
ea6d290ca34c


158d9ebd1928
1da177e4c3f4
270f722d4d5f
ec1d281923cf
1da177e4c3f4

2e91fa7f6d45
156654f491dd
1a2a4d06e1e9
e0e817392b9a
35df17c57cec
ea6d290ca34c
1da177e4c3f4



77c100c83e84
1da177e4c3f4
6c0a9fa62feb
61c4628b5386
ff691f6e0381


16db3d3f1170
ff691f6e0381
ac1b398de1ef
ca79b0c211af
ff691f6e0381

ac1b398de1ef

ff691f6e0381
3d6357de8aa0
ac1b398de1ef

3d6357de8aa0
ac1b398de1ef

16db3d3f1170


ac1b398de1ef
ff691f6e0381

5aaeb5c01c5b



0c8c0f03e3a2
5905429ad856














ff691f6e0381
1da177e4c3f4
25f9c0817c53
f5e10287367d
1da177e4c3f4
e274795ea7b7
1da177e4c3f4
95cb64c1fe61
5905429ad856
e274795ea7b7
1da177e4c3f4
5905429ad856

e274795ea7b7
5905429ad856

1da177e4c3f4

61c4628b5386


16db3d3f1170
1da177e4c3f4




b376c3e1b677
25f9c0817c53


19659c59af52




b09be676e0ff

aad42dd44db0
1da177e4c3f4

52f5684c8e1e
61c4628b5386





d4311ff1a8da







725fc629ff25
1da177e4c3f4

b235beea9e99
0f4991e8fd48
3e26c149c358
1da177e4c3f4
725fc629ff25

504f52b5439a
1da177e4c3f4


b235beea9e99

f19b9f74b7ea
1da177e4c3f4
9b6f7e163cd0


ba14a194a434

fb0a685cb95a
ba14a194a434









68f24b08ee89
f0b89d3958d7
68f24b08ee89
ba14a194a434
164c33c6adee
b235beea9e99
164c33c6adee
dbd952127d11








87bec58a5265

8e7cac79808b
f26f9aff6aaf
d4311ff1a8da
1da177e4c3f4
050e9baa9dc9
7cd815bce828
0a4254058037
3bd3706251ee

0a4254058037
fb0a685cb95a



ec1d281923cf
6c5c93415351
2056a782f8e7
6c5c93415351
a0aa7f68afee
5640f7685831
093e5840ae76
c6a7f5728a1d
ba14a194a434
c6a7f5728a1d
5c9a8750a640

e41d58185f14



2c323017e381




d46eb14b735b


1da177e4c3f4
61c4628b5386
b235beea9e99
ba14a194a434
f19b9f74b7ea
61c4628b5386

1da177e4c3f4

23ff4440243f
1da177e4c3f4
4cb0e11b15d2











1da177e4c3f4

858f09930b32



db446a08c23d
858f09930b32


c3f3ce049f7d








33144e8429bd






355627f51897






bfedb589252c

1da177e4c3f4
41f727fde1fe


1da177e4c3f4



999d9fc1670b
af5b0f6a09e4
41f727fde1fe

70f8a3ca68d3
d559db086ff5
1da177e4c3f4
88aa7cc688d4
41f727fde1fe
858f09930b32
cf475ad28ac3
2b7e8665b4ff
41f727fde1fe
133ff0eac95b
16af97dc5a89
41f727fde1fe


355627f51897
1da177e4c3f4
a0715cc22601




1da177e4c3f4
a0715cc22601

41f727fde1fe




78fb74669e80
bfedb589252c
41f727fde1fe




1da177e4c3f4






fb0a685cb95a
1da177e4c3f4
fb0a685cb95a
1da177e4c3f4

de03c72cfce5



bfedb589252c
1da177e4c3f4

ec8d7c14ea14








6fcb52a56ff6
ec8d7c14ea14










1da177e4c3f4




0ae26f1b3159

ec8d7c14ea14




a1b2289cef92

















90f31d0ea888




6e399cd144d8




90f31d0ea888
3864601387cf

6e399cd144d8







90f31d0ea888
3864601387cf

90f31d0ea888


3864601387cf

90f31d0ea888





3864601387cf



90f31d0ea888




3864601387cf

11163348a23c
3864601387cf
1da177e4c3f4
cd81a9170e69




















3864601387cf
1da177e4c3f4


246bb0b1deb2
1da177e4c3f4











246bb0b1deb2
1da177e4c3f4

3fce371bfac2
1da177e4c3f4





8cdb878dcb35



















57b59c4a1400
c415c3b47ea2
d68b46fe16ad
c415c3b47ea2
d68b46fe16ad














76f969e8948d
d68b46fe16ad
76f969e8948d
d68b46fe16ad









c415c3b47ea2

1da177e4c3f4














8141c7f3e7ae

fc6b177dee33
8141c7f3e7ae
fc6b177dee33

8141c7f3e7ae
fc6b177dee33
8141c7f3e7ae
fc6b177dee33

8141c7f3e7ae
322a2c100a89

8141c7f3e7ae

0326f5a94dde

1da177e4c3f4


fec1d0115240
735f2770a770


fec1d0115240
9c8a8228d082
735f2770a770
9c8a8228d082





2de0db992de1

9c8a8228d082
1da177e4c3f4
1da177e4c3f4
f7505d64f2db






1da177e4c3f4

13585fa0668c








a0a7ec308f1b
13585fa0668c

a0a7ec308f1b
13585fa0668c
a0a7ec308f1b

a0a7ec308f1b





bfedb589252c
a0a7ec308f1b

a0a7ec308f1b






801460d0cf5c


a0a7ec308f1b


801460d0cf5c

c3f3ce049f7d
a0a7ec308f1b



a0a7ec308f1b

fb0a685cb95a
1da177e4c3f4
fb0a685cb95a
1da177e4c3f4



17406b82d621

a2e514453861
17406b82d621
1da177e4c3f4












615d6e8756c8


1da177e4c3f4
3fce371bfac2
1da177e4c3f4
1da177e4c3f4



13585fa0668c
1da177e4c3f4


1da177e4c3f4




1da177e4c3f4

1da177e4c3f4

a39bc51691a0
1da177e4c3f4
498052bba55e
1da177e4c3f4
498052bba55e
2a4419b5b2a7
498052bba55e
2a4419b5b2a7
498052bba55e


2a4419b5b2a7
1da177e4c3f4

498052bba55e
1da177e4c3f4




fb0a685cb95a
a016f3389c06















a016f3389c06









fadad878cc06
fd0928df98b9


6e736be7f282
fd0928df98b9


fadad878cc06



3d48749d93a3

fadad878cc06
6e736be7f282

fd0928df98b9

6e736be7f282
11a3122f6cf2
fd0928df98b9




a39bc51691a0
1da177e4c3f4


60348802e9cb
d036bda7d0e7
1da177e4c3f4


e56d090310d7
1da177e4c3f4

9d7fb0427648
d036bda7d0e7
06e62a46bbba
1da177e4c3f4
06e62a46bbba
1da177e4c3f4


a7e5328a06a2
c81addc9d3a0
d036bda7d0e7
d80e731ecab4
392809b25833
5f0d5a3ae7cf
392809b25833

c81addc9d3a0
d80e731ecab4
c81addc9d3a0

b18b6a9cef7f
f06febc96ba8




78d7d407b62a

316c1608d15c
78d7d407b62a
ebd7e7fc4bc6
d5c373eb5610
6279a751fe09

f06febc96ba8




b18b6a9cef7f


f06febc96ba8
a39bc51691a0
1da177e4c3f4

1da177e4c3f4
4ab6c0833653
490dea45d00f
490dea45d00f
a56704ef6b0c
1da177e4c3f4



b3ac022cb9dc
1da177e4c3f4
60d4de3ff7f7
0c740d0afc3b




1da177e4c3f4
db51aeccd709
1da177e4c3f4
c3ad2c3b02e9
e78c3496790e
9d7fb0427648
1da177e4c3f4
baa73d9e478f
b18b6a9cef7f
c9cb2e3d7c91
1da177e4c3f4
baa73d9e478f
1da177e4c3f4
1da177e4c3f4



6279a751fe09

522ed7767e80
5091faa449ee
522ed7767e80
a63d83f427fb
dabb16f63982
28b83c5193e7
9b1bf12d5d51

1da177e4c3f4


dbd952127d11








69f6a34bdeea
dbd952127d11






















17da2bd90abf
1da177e4c3f4


b488893a390e
1da177e4c3f4

a39bc51691a0
23f78d4a03c5
1d6154825475
e29e175b0f40
a23ba907d5e6
e96a7705e7d3
23f78d4a03c5
23f78d4a03c5


b18b6a9cef7f
1da177e4c3f4
f06febc96ba8



648616343cdb

f06febc96ba8




b18b6a9cef7f


f06febc96ba8
2c4704756cab








819077398514


2c4704756cab



819077398514

6bfbaa51ed47














b3e583825266



















b53b0b9d9a61
























b3e583825266

b53b0b9d9a61
b3e583825266




c3f3ce049f7d














f06febc96ba8
1da177e4c3f4






0766f788eb72
09a05394fe24
3033f14ab78c
7f192e3cd316

1da177e4c3f4
b3e583825266
a24efe62dd16
c3ad2c3b02e9
6fd2fe494b17
7f192e3cd316
1da177e4c3f4
667b60946ef9



1da177e4c3f4


e66eded8309e


1da177e4c3f4














123be07b0b39









8382fcac1b81
40a0d32d1eaf
faf00da54404
8382fcac1b81
faf00da54404
40a0d32d1eaf




8382fcac1b81
b3e583825266
b3e583825266
b3e583825266



7f192e3cd316
b3e583825266
b3e583825266

c3ad2c3b02e9

















1da177e4c3f4
725fc629ff25
1da177e4c3f4


4d6501dce079





7f192e3cd316
4d6501dce079


7f192e3cd316
4d6501dce079
f7e8b616ed1c

bea493a031fe

d12c1a37925a
de30a2b355ea


1da177e4c3f4
3b11a1decef0
78d7d407b62a
b57922b6c76c

1da177e4c3f4

72fa59970f86
1da177e4c3f4
f1752eec6145


1da177e4c3f4





04ec93fe9bc9
1da177e4c3f4


ca74e92b4698
c1de45ca831a
514ddb446c5c
1da177e4c3f4

f41d911f8c49
1da177e4c3f4

1da177e4c3f4
1da177e4c3f4

648616343cdb
40565b5aedd6
648616343cdb
40565b5aedd6
9d7fb0427648

6a61671bb2f3
bac5b6b6b115


6a61671bb2f3

a3a2e76c77fa


172ba844a885
6976675d9404

eb414681d5a0



5995477ab7f3
1da177e4c3f4

f06febc96ba8
1da177e4c3f4
1da177e4c3f4
c0b0ae8a871b
b4f48b6363c8
1da177e4c3f4
846a16bf0fc8
fb0a685cb95a


e8604cb43690
fb0a685cb95a
1da177e4c3f4
778d3b0ff065


cc9a6c877661
778d3b0ff065
de30a2b355ea














8bcbde5480f9


fbb9ce9530fd
b09be676e0ff
fbb9ce9530fd
1da177e4c3f4
408894ee4dd4


cafe56359144



0f4814065ff8
3c90e6e99b08
aab03e05e8f7


6ab423e0eaca
cdd6c482c9ff
6ab423e0eaca

fb0a685cb95a

6c72e3501d0d
1da177e4c3f4
ab602f799159
e4e55b47ed9a
fb0a685cb95a
1da177e4c3f4
e4e55b47ed9a


fb0a685cb95a

1da177e4c3f4
fb0a685cb95a

1da177e4c3f4
fb0a685cb95a

1da177e4c3f4
fb0a685cb95a

1da177e4c3f4
fb0a685cb95a

1da177e4c3f4
fb0a685cb95a

d84f4f992cbd
fb0a685cb95a

fd0928df98b9
7f192e3cd316

1da177e4c3f4
fd0928df98b9
1da177e4c3f4
afaef01c0015

425fb2b4bf5d
c2b1df2eb429
35f71bc0a09a

0740aa5f6375
35f71bc0a09a
425fb2b4bf5d

b3e583825266





6fd2fe494b17
b3e583825266



6fd2fe494b17




28dd29c06d0d
6fd2fe494b17



7f192e3cd316
b3e583825266



73c101011926


42b2dd0a02c5
8f17d3a5049d



c87e2837be82

42b2dd0a02c5
1da177e4c3f4
f9a3879abf2f


2a7421383810
f9a3879abf2f

6580807da14c

1da177e4c3f4
6580807da14c
1da177e4c3f4
ed75e8d58010


e02c9b0d65a7
1da177e4c3f4
1da177e4c3f4
18c830df771f

5f8aadd8b996
18c830df771f





7f192e3cd316
18c830df771f


5f8aadd8b996
9d823e8f6b1b

83712358ba0a
9d823e8f6b1b
bb8cbbfee685
47e65328a7b1
158e1645e07f
1da177e4c3f4
780de9dd2720
18c830df771f
7e47682ea555




b53202e63089
7e47682ea555
c3b7112df86b
7e47682ea555

7b5585136713







9285ec4c8b61
7b5585136713

18c830df771f


1da177e4c3f4

1da177e4c3f4
2d5516cbb9da
1da177e4c3f4
2d5516cbb9da

1da177e4c3f4
2d5516cbb9da

1da177e4c3f4
d83a7cb375ee

3f17da699431
4a2c7a7837da

dbd952127d11




d7822b1e24f2

4ca1d3ee4613
e8cfbc245e24
3fd372262166


4a2c7a7837da
7673bf553b27





6fd2fe494b17


4a2c7a7837da
2c4704756cab
73b9ebfe126a
4b9d33e6d83c
73b9ebfe126a
819077398514
73b9ebfe126a
6883f81aac6f
819077398514


1c4042c29bd2
17cf22c33e1f
1c4042c29bd2

c3ad2c3b02e9
9c9f4ded90a5
749860ce2427






9cd80bbb07fc
5e85d4abe3f4
6883f81aac6f
819077398514

909ea9646809
80628ca06c5d


60d4de3ff7f7
924de3b8c941
80628ca06c5d

0c740d0afc3b

73b9ebfe126a
819077398514
73b9ebfe126a
1da177e4c3f4
1da177e4c3f4
c3ad2c3b02e9
3f17da699431
4af4206be2bd
1da177e4c3f4
4af4206be2bd
c13cf856cbe1
b53202e63089
780de9dd2720
cdd6c482c9ff
43d2b113241d

3ab679661721
43d2b113241d
1da177e4c3f4

7e47682ea555
3fd372262166

b53202e63089
c3b7112df86b

b3e583825266
6fd2fe494b17



425fb2b4bf5d


0740aa5f6375

fd0928df98b9
b69f2292063d

ab516013ad9c
444f378b237a
1da177e4c3f4
c3f3ce049f7d

1da177e4c3f4
c3f3ce049f7d
1da177e4c3f4
4ab6c0833653
1c5354de90c9
1da177e4c3f4
a7e5328a06a2
1da177e4c3f4





e4e55b47ed9a

1da177e4c3f4

6c72e3501d0d
cdd6c482c9ff
6c72e3501d0d
b09be676e0ff
1da177e4c3f4
f0be3d32b05d
e8604cb43690
1da177e4c3f4
35df17c57cec
1da177e4c3f4
d84f4f992cbd
e0e817392b9a
1da177e4c3f4
405c0759712f
68f24b08ee89
c3f3ce049f7d
fe7d37d1fbf8
c3ad2c3b02e9


fe7d37d1fbf8
1da177e4c3f4

2c4704756cab
f106eee10038



2c4704756cab

f106eee10038


0db0628d9012
1da177e4c3f4
36c8b586896f
7f192e3cd316




f106eee10038
2c4704756cab
753ca4f312a4
f106eee10038
73b9ebfe126a
1da177e4c3f4


13585fa0668c




1da177e4c3f4





7f192e3cd316
1da177e4c3f4
7f192e3cd316
9f5325aa3727

1da177e4c3f4

92476d7fc032
1da177e4c3f4
bdff746a3915
4b9d33e6d83c



09a05394fe24
e80d6661c3a5
4b9d33e6d83c

7f192e3cd316
4b9d33e6d83c






1da177e4c3f4
7f192e3cd316
38addce8b600
9f5325aa3727



1da177e4c3f4



9f5325aa3727
0a16b6075843
9f5325aa3727

30e49c263e36
9f5325aa3727
7f192e3cd316
a6f5e0637897
9f5325aa3727




1da177e4c3f4
9f5325aa3727
09a05394fe24
9f5325aa3727


4e52365f2795
9f5325aa3727


1da177e4c3f4
9f5325aa3727

92476d7fc032
1da177e4c3f4

028b6e8a89de









3033f14ab78c








7f192e3cd316

028b6e8a89de
7f192e3cd316






028b6e8a89de


7f192e3cd316
3033f14ab78c


2aa3a7f86603




7f192e3cd316







2aa3a7f86603
2aa3a7f86603
d2125043aebf



7f192e3cd316




d2125043aebf

5d59e18270d4
d2125043aebf






7f192e3cd316





d2125043aebf






3033f14ab78c
d2125043aebf




3033f14ab78c
dfa9771a7c47




3033f14ab78c
d2125043aebf



3033f14ab78c
d2125043aebf

7f192e3cd316









028b6e8a89de
7f192e3cd316



d68dbb0c9ac8
7f192e3cd316
d68dbb0c9ac8
7f192e3cd316






















































































d2125043aebf


0f1b92cbdd03































5fd63b308569



51cc50685a42
aa1757f90bea


a35afb830f8d
b8fceee17a31
aa1757f90bea

1da177e4c3f4

c1a2f7f0c064

1da177e4c3f4

5f0d5a3ae7cf
75f296d93bce
1da177e4c3f4

75f296d93bce
5d097056c9a0
20c2df83d25c
1da177e4c3f4
75f296d93bce
5d097056c9a0
20c2df83d25c
1da177e4c3f4
75f296d93bce
5d097056c9a0
c1a2f7f0c064
6345d24daf0c
c1a2f7f0c064


6345d24daf0c
c1a2f7f0c064

07dcd7fe8993
c1a2f7f0c064
75f296d93bce
07dcd7fe8993

5d097056c9a0

8feae13110d6
6657719390cd
1da177e4c3f4
cf2e340f4249
cf2e340f4249
9bfb23fc4a48
cf2e340f4249
9bfb23fc4a48
cf2e340f4249
9bfb23fc4a48

50804fe3737c
a79a908fd2b0
9bfb23fc4a48
cf2e340f4249
12c641ab8270



cf2e340f4249
9bfb23fc4a48
12c641ab8270



d036bda7d0e7
12c641ab8270



9bfb23fc4a48

cf2e340f4249




99d1419d96d7
cf2e340f4249




498052bba55e









cf2e340f4249




a016f3389c06
cf2e340f4249



a016f3389c06
cf2e340f4249

a016f3389c06




cf2e340f4249




cf2e340f4249






9b32105ec6b1
cf2e340f4249
cf2e340f4249
cf2e340f4249
b2e0d98705e6
cf7b708c8d1d
9edff4ab1f8d
9bfb23fc4a48
cf2e340f4249
50804fe3737c
faf00da54404

b2e0d98705e6

e66eded8309e
b2e0d98705e6
50804fe3737c



6013f67fc1a4
12c641ab8270




9bfb23fc4a48



50804fe3737c



9bfb23fc4a48
6013f67fc1a4




9edff4ab1f8d
fb0a685cb95a

9bfb23fc4a48
fb0a685cb95a

9bfb23fc4a48
b2e0d98705e6
fb0a685cb95a
9edff4ab1f8d
b2e0d98705e6



c0b2fc316599
b2e0d98705e6
9edff4ab1f8d





ab602f799159




ab516013ad9c
6f977e6b2f75
cf7b708c8d1d
cf2e340f4249
cf7b708c8d1d

cf2e340f4249

2a4419b5b2a7
cf2e340f4249
498052bba55e



2a4419b5b2a7
cf2e340f4249

cf2e340f4249






b2e0d98705e6





cf2e340f4249

e422267322cd

b2e0d98705e6


cf2e340f4249



cf2e340f4249

498052bba55e
cf2e340f4249
cf2e340f4249


3b1253880b7a
9b32105ec6b1




3b1253880b7a








50704516f334
3b1253880b7a












16db3d3f1170






















1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
                                        












                                                                     
                              
                       
                                  
                           
                                 
                             
                                       
                             
                             
                                   
                                
                           
                          

                         


                             



                              
                          
                            


                          
                               
                      
                     

                           
                          
                             
                      
                         
                           
                          
                          



                           
                         
                          
                                         
                           


                         
                             
                         
                          

                          
                      
                       
                                
                              
                          
                          
                            
                                 
                         
                      
                         
                            
                        
                             
                               
                                       
                      
                             
                           
                          
                      
                           
                         
                       
                            
                              
                            


                        
                          



                            

                               


                              
  









                                               


                                                                  
                                                                     
 
                                                                 


                                                  
                                                              







                                                 





                      
                                  




                                                      



                                                             
                                         
                                             





                                                                           

                                                            

                                                 

      
                                          
 



                                                                 
                                                           







                                                                             

















                                                                              

      
                                                                                
 
                        


                    
                                                


                                                          


                                 
 

                                                             
 
                                       
                                     

                               
 




                                                                           
                                                               
                                                                
                                                                     

                                                                           





                                                                  
                    
                                                         

                                   

                     

                                                                  
 




                                                
      

 
                                                             
 
                        


                                                       

                      







                                                                       
                                                        

                                                                          

                                         

                               
 
                                         




                                                                  
 
      
                                             
 
                                                                      

                                                           



                                                                                

 
                                                      
 
                                                        

 
                                  
 


                                                                       
                                           

       

      
                                                           
                                        

                                                             
                                  

                                                         
                                

                                                   
                             

                                              
                                         

                                                   
                                    
 
                                                          
 
                                   
 
                                                           

                                  
                   



                                                               






                                                                                  






                                             
                                                                      
 














                                                                             









                                                                              

                                                                       
         

 




























                                                                             
                                                       
 


                                                                                
                                      
                               








                                            
                                                        
















                                                                         
                                                               
      
                                      
                                    
                                
                                      

                                         



                              
















































                                                                              







                                                                          






                                                                               
                                        

                                        

































































                                                                              
                                          










                                      
                          


























































                                                                              
                                   

                               

                                               

                            




                                    
                            
















                                                                  

                                                                
                                 
                                  



                                                                          
                        
                                          




                                                               
                                                


                                        
                                               
 
                                  
                                            

                                
                         
                            
                                
                        
                                
                                       



                                       
                                     
 
                                                 
 


                  
                                                               
 
                    
                                                  

          

                                                                            
           
                                                    

                                      
                                                                     

                                                             


                                                
                                                                      

 



                                            
 














                                                                             
                           
 
              
                                         
                          
                                 
      
                                                                   
                                           
 
                                                                  

                                                                      
                                                     

                                                    

      


                                                   
                                     




                                                                      
 


                                                           




                                                                      

                                      
                       

 
                                                        





                                                                       







                                                                    
                                                                              

                                
                             
                                                       
                
 

                                               
                                           


                            

                                                   
                              
 


                                           

                                                
                                              









                                                                           
                                 
                                              
      
 
                
                                
 








                                                                     

                                      
                                        
                                    
                                      
 
                            
                                                
      

                                                
 



                                                                         
                                     
                              
                            
      
                                
                                   
                                
 
                                     
 

                            



                             




                                   


                                 
                   
 
           
                               
         

                              

 
                                                        
 











                                                                       

                            



                                             
                               


      








                                                                 






                                                                      






                                                       

                                                                             
 


                                



                                     
                              
                                   

                          
                                        
                                                       
                                             
                                      
                            
                        
                             
                                             
                                 
                        
                                   


                                                                  
                                  
 




                                                                          
                                  

         




                                    
 
                                           




                        






                                        
                                
 
                             

                           



                                   
                                                       

 








                                                            
                                  










                                               




                                                               

                      




                                               

















                                                                   




                                                                        




                                                                      
   

                                                                     







                                                                 
 

                                       


                                                       

 





                                                                    



                                                  




                                                 

                        
                               
 
   




















                                                                                
 


                                                     
                                                                   











                                                                        
                                             

                                  
                                  





                               



















                                                                        
                                                        
 
                                 
 














                                                         
                              
                                                     
                                   









                                         

 














                                                                     

                                                          
                                         
                                      

                                        
                    
                                                
                                             

                                               
      

                                                       

      

                               


                                                  
          


                                                                  
           
                                   
                                                                    





                                                                           

                                                                  
                 
                                            
         






                                                                             

 








                                                                            
   

                                                        
 
                             

                





                                       
                                           

                                






                                         


                                                              


                  

                                                                  
                                



                    

 
                                                                      
 
                                     



                                        

                                                          
                                  
      












                                                  


                                                 
                                     
                             
                           



                             
                                      


                                




                            

                      

 
                                                                      
 
                                           
                                     
                                                     
                                     
                                  
                                               


                                       
                                       

                         
                                     




                               
                                                                         















                                                          









                                    
                                                                      


                                                     
                                   


                         



                                                           

                                      
                                               

                                                                             

                                       
                                              
                                        




                 
                                                                           


                                   
                                          
                                                       


                                                           
                                              

                               
 
                                     
                                                  
                                                                           
                                                    


                 
                                                      
 
                                                     
                                          
                  
                                                                           

                                                                          
                                                         
         

 
                          




                                                                  

                                
                                                              
                                         
                                                                         
                                             

         




                                            


                                                                             
 
                                                                          

                                  
 
                                       
                         
 
                                                           



                               
                            
                                  
                                      




                                                                              
                                                 
                               
                                              
                                            
                                       
                                              
 
                          
                                           
                                                                          
                                              
      
 



                                                                   

                                         
                            
                                  
 
                                                            
                                                                    
 

                                           


                 








                                                                     
                                                       






















                                                                     
                                                      


                                          
                                     

 
                                                     
 
                                        
                        
                                       
                              
                                


      
                          
  



                                                          

                                          




                                            


                                                                     
 








                                                                


                                                                            



                                               

 














                                                          



















                                                                    
























                                                                                

                                           
                           




                                         














                                                                             
  






                                                       
                                                         
                                                        
                                                  

                                                                       
 
                               
                              
                                            
                                    
                                      
 



                                                                               


                                                                             


                                                                                 














                                                                           









                                                                           
          
                                                                          
                                                                         
           
                                         




                                                                       
 
                                        
                  



                                                                           
                                                                  
                                                

         

















                                                                              
                         
                                           


                              





                                                                             
                                                                                       


                                     
                                                                                           
 

                                  

                              
                           


                                                  
                         
                                                          
                                                       

                                                                          

                                           
                                             
 


                                            





                                                                         
                         


                                            
                                                                         
                                                             
                                  

                                     
                            

                                       
 

                                     
                                           
                                     
                                            
      

                                            
                                     


                                          

      


                                                     
 

                                                            



                         
                                          

                                
                                 
 
                             
                                   
                       
                  
                                              


                                               
                                                       
         
      


                                                   
                                            
      














                                          


                                  
                     
                             
      
 


                                                   



                                    
 
                                                                         


                                             
 
                                         

                                             

                                
                                           
                                              
                         
                                                     
                   
                                            


                                               

                                            
                                              

                                         
                                            

                                              
                                         

                                             
                                              

                                         
                                             

                                                 
                                         

                                         
                                                 

                                                                               
                   
                                         
 

                               
                                      
                                                                 

                                              
                                                     
                 

         





                                                                          
                                                                 



                                               




                                                                         
                                                  



                                                         
                                                      



                                                


                       
                   



                                     

                                          
      
          


                                                                 
                                

          

                                                                   
           
                                    
                                                    


                                                  
                                     
 
                                           

                                         
                                    





                                                                            
                                                           


                                    
 

                                                       
                                 
 
                             
                                         
                             
 
                                                 
          




                                                                                  
                                    
                   
                                                            

          







                                                                              
                                                     

          


                                                                              

                                       
                                                 
                                                        
                                                      

                                                            
                                         

                                                          
 

                            
                                              

          




                                                                          

                                  
                                                           
                                                                        


                                            
 





                                                         


                                            
 
                               
                             
                                                                           
 
                                                   
                                             
                                                            


                                                                             
                                                   
                                                                 

                                                                      
                                                                          
                                                                            






                                                                                                       
                                                                              
                                                                       
                                                    

                                                    
                                                       


                                                           
                                                               
                                                

                                                                          

                                                                   
                 
                                           
                             
         
                      
                                      
                                                
                                     
                                         
 
                               
                            
                                               
                           

                                           
                                            
 

                 
                       

                                                
                              

                                               
                   



                                        


                                    

                        
                    

                                   
                            
                                
                    

                                         
                             
         
                        
                                          
                                              
                         
                                      





                                     

                              

                       
                      
                                
                        
                             
                  
                               
                                  
      
                              
                       
                                              
                      
              
                             
                          
                             
         


                                                    
                               

 
                                                           



                                                              

                                                                                


         
                                      
 
                                 




                                                                          
                            
                                     
                                     
         
 


                    




                                      





                                                          
                                             
 
                                      

                                

                              
                
 
          



                                                                          
           
                                              

                                                   
                                                      






                                                                  
 
                                                          
                             



                                  



                                                                           
                                             
 

                                           
 
                                              
                                               
 




                                        
 
                            
 


                                                                     
 


                                                                       
         

                     
                  

 









                                                                     








                                                                              

                                                           
                                                






                                                          


                                            
                               


      




                                                                      







                                                                                   
 
 



                           




                                         

                                           
                       






                            





                                                         






                                                                        
                                    




                                                                        
                                    




                                                                        
                                   



                                                                        
                                    

      









                                                           
                                            



                               
      
 
                             






















































































                                                                              


      































                                                                                 



                                 
                                    


                                              
                                          
                                                    

 

                                  

                             

                                                           
                                                                           
                                                    

                                                         
                                                                   
                              
                                                       
                                                       
                                                                   
                              
                                                 
                                                    
                                                                   
                              
 
          


                                                                        
           

                                                            
                                                           
                                                         
                                                                   

                                                                   

                                                                             
                    
                             
 
 
  
                                                                
   
                                                           
 

                                                                              
                                                                       
                                                                            
                               
          



                                                                      
           
                                                                        



                                                         
                                                                



                                                  

                                       




                 
                                                         




                                                                              









                                                                           




                 
                                                      



                                                                                 
                      

                                            




                                                  




                 






                                                            
                                             
 
                                             
                                                
                                     
                                           
                           
                
 
          

                                                                           

                                          
                                                         
          



                                                              
          




                                                                               



                                                                            



                                                 
          




                                                                           
                               

                                                 
                                     

                                                 
                                            
                                                       
                
                                            



                                                                     
 
                                                                        





                                                                     




                                                                        
 
                                
                                                                     
 

                                   

                                         
                                             
                                             



                                              
                                               

                 






                                                





                                                            

         

                                       


                                   



                                         

                       
                                       
 


                   
 




                                                      








                                                        
                                         












                                               






















                                                                       
// SPDX-License-Identifier: GPL-2.0-only
/*
 *  linux/kernel/fork.c
 *
 *  Copyright (C) 1991, 1992  Linus Torvalds
 */

/*
 *  'fork.c' contains the help-routines for the 'fork' system call
 * (see also entry.S and others).
 * Fork is rather simple, once you get the hang of it, but the memory
 * management can be a bitch. See 'mm/memory.c': 'copy_page_range()'
 */

#include <linux/anon_inodes.h>
#include <linux/slab.h>
#include <linux/sched/autogroup.h>
#include <linux/sched/mm.h>
#include <linux/sched/coredump.h>
#include <linux/sched/user.h>
#include <linux/sched/numa_balancing.h>
#include <linux/sched/stat.h>
#include <linux/sched/task.h>
#include <linux/sched/task_stack.h>
#include <linux/sched/cputime.h>
#include <linux/seq_file.h>
#include <linux/rtmutex.h>
#include <linux/init.h>
#include <linux/unistd.h>
#include <linux/module.h>
#include <linux/vmalloc.h>
#include <linux/completion.h>
#include <linux/personality.h>
#include <linux/mempolicy.h>
#include <linux/sem.h>
#include <linux/file.h>
#include <linux/fdtable.h>
#include <linux/iocontext.h>
#include <linux/key.h>
#include <linux/binfmts.h>
#include <linux/mman.h>
#include <linux/mmu_notifier.h>
#include <linux/hmm.h>
#include <linux/fs.h>
#include <linux/mm.h>
#include <linux/vmacache.h>
#include <linux/nsproxy.h>
#include <linux/capability.h>
#include <linux/cpu.h>
#include <linux/cgroup.h>
#include <linux/security.h>
#include <linux/hugetlb.h>
#include <linux/seccomp.h>
#include <linux/swap.h>
#include <linux/syscalls.h>
#include <linux/jiffies.h>
#include <linux/futex.h>
#include <linux/compat.h>
#include <linux/kthread.h>
#include <linux/task_io_accounting_ops.h>
#include <linux/rcupdate.h>
#include <linux/ptrace.h>
#include <linux/mount.h>
#include <linux/audit.h>
#include <linux/memcontrol.h>
#include <linux/ftrace.h>
#include <linux/proc_fs.h>
#include <linux/profile.h>
#include <linux/rmap.h>
#include <linux/ksm.h>
#include <linux/acct.h>
#include <linux/userfaultfd_k.h>
#include <linux/tsacct_kern.h>
#include <linux/cn_proc.h>
#include <linux/freezer.h>
#include <linux/delayacct.h>
#include <linux/taskstats_kern.h>
#include <linux/random.h>
#include <linux/tty.h>
#include <linux/blkdev.h>
#include <linux/fs_struct.h>
#include <linux/magic.h>
#include <linux/perf_event.h>
#include <linux/posix-timers.h>
#include <linux/user-return-notifier.h>
#include <linux/oom.h>
#include <linux/khugepaged.h>
#include <linux/signalfd.h>
#include <linux/uprobes.h>
#include <linux/aio.h>
#include <linux/compiler.h>
#include <linux/sysctl.h>
#include <linux/kcov.h>
#include <linux/livepatch.h>
#include <linux/thread_info.h>
#include <linux/stackleak.h>

#include <asm/pgtable.h>
#include <asm/pgalloc.h>
#include <linux/uaccess.h>
#include <asm/mmu_context.h>
#include <asm/cacheflush.h>
#include <asm/tlbflush.h>

#include <trace/events/sched.h>

#define CREATE_TRACE_POINTS
#include <trace/events/task.h>

/*
 * Minimum number of threads to boot the kernel
 */
#define MIN_THREADS 20

/*
 * Maximum number of threads
 */
#define MAX_THREADS FUTEX_TID_MASK

/*
 * Protected counters by write_lock_irq(&tasklist_lock)
 */
unsigned long total_forks;	/* Handle normal Linux uptimes. */
int nr_threads;			/* The idle threads do not count.. */

static int max_threads;		/* tunable limit on nr_threads */

DEFINE_PER_CPU(unsigned long, process_counts) = 0;

__cacheline_aligned DEFINE_RWLOCK(tasklist_lock);  /* outer */

#ifdef CONFIG_PROVE_RCU
int lockdep_tasklist_lock_is_held(void)
{
	return lockdep_is_held(&tasklist_lock);
}
EXPORT_SYMBOL_GPL(lockdep_tasklist_lock_is_held);
#endif /* #ifdef CONFIG_PROVE_RCU */

int nr_processes(void)
{
	int cpu;
	int total = 0;

	for_each_possible_cpu(cpu)
		total += per_cpu(process_counts, cpu);

	return total;
}

void __weak arch_release_task_struct(struct task_struct *tsk)
{
}

#ifndef CONFIG_ARCH_TASK_STRUCT_ALLOCATOR
static struct kmem_cache *task_struct_cachep;

static inline struct task_struct *alloc_task_struct_node(int node)
{
	return kmem_cache_alloc_node(task_struct_cachep, GFP_KERNEL, node);
}

static inline void free_task_struct(struct task_struct *tsk)
{
	kmem_cache_free(task_struct_cachep, tsk);
}
#endif

#ifndef CONFIG_ARCH_THREAD_STACK_ALLOCATOR

/*
 * Allocate pages if THREAD_SIZE is >= PAGE_SIZE, otherwise use a
 * kmemcache based allocator.
 */
# if THREAD_SIZE >= PAGE_SIZE || defined(CONFIG_VMAP_STACK)

#ifdef CONFIG_VMAP_STACK
/*
 * vmalloc() is a bit slow, and calling vfree() enough times will force a TLB
 * flush.  Try to minimize the number of calls by caching stacks.
 */
#define NR_CACHED_STACKS 2
static DEFINE_PER_CPU(struct vm_struct *, cached_stacks[NR_CACHED_STACKS]);

static int free_vm_stack_cache(unsigned int cpu)
{
	struct vm_struct **cached_vm_stacks = per_cpu_ptr(cached_stacks, cpu);
	int i;

	for (i = 0; i < NR_CACHED_STACKS; i++) {
		struct vm_struct *vm_stack = cached_vm_stacks[i];

		if (!vm_stack)
			continue;

		vfree(vm_stack->addr);
		cached_vm_stacks[i] = NULL;
	}

	return 0;
}
#endif

static unsigned long *alloc_thread_stack_node(struct task_struct *tsk, int node)
{
#ifdef CONFIG_VMAP_STACK
	void *stack;
	int i;

	for (i = 0; i < NR_CACHED_STACKS; i++) {
		struct vm_struct *s;

		s = this_cpu_xchg(cached_stacks[i], NULL);

		if (!s)
			continue;

		/* Clear stale pointers from reused stack. */
		memset(s->addr, 0, THREAD_SIZE);

		tsk->stack_vm_area = s;
		tsk->stack = s->addr;
		return s->addr;
	}

	/*
	 * Allocated stacks are cached and later reused by new threads,
	 * so memcg accounting is performed manually on assigning/releasing
	 * stacks to tasks. Drop __GFP_ACCOUNT.
	 */
	stack = __vmalloc_node_range(THREAD_SIZE, THREAD_ALIGN,
				     VMALLOC_START, VMALLOC_END,
				     THREADINFO_GFP & ~__GFP_ACCOUNT,
				     PAGE_KERNEL,
				     0, node, __builtin_return_address(0));

	/*
	 * We can't call find_vm_area() in interrupt context, and
	 * free_thread_stack() can be called in interrupt context,
	 * so cache the vm_struct.
	 */
	if (stack) {
		tsk->stack_vm_area = find_vm_area(stack);
		tsk->stack = stack;
	}
	return stack;
#else
	struct page *page = alloc_pages_node(node, THREADINFO_GFP,
					     THREAD_SIZE_ORDER);

	if (likely(page)) {
		tsk->stack = page_address(page);
		return tsk->stack;
	}
	return NULL;
#endif
}

static inline void free_thread_stack(struct task_struct *tsk)
{
#ifdef CONFIG_VMAP_STACK
	struct vm_struct *vm = task_stack_vm_area(tsk);

	if (vm) {
		int i;

		for (i = 0; i < THREAD_SIZE / PAGE_SIZE; i++) {
			mod_memcg_page_state(vm->pages[i],
					     MEMCG_KERNEL_STACK_KB,
					     -(int)(PAGE_SIZE / 1024));

			memcg_kmem_uncharge(vm->pages[i], 0);
		}

		for (i = 0; i < NR_CACHED_STACKS; i++) {
			if (this_cpu_cmpxchg(cached_stacks[i],
					NULL, tsk->stack_vm_area) != NULL)
				continue;

			return;
		}

		vfree_atomic(tsk->stack);
		return;
	}
#endif

	__free_pages(virt_to_page(tsk->stack), THREAD_SIZE_ORDER);
}
# else
static struct kmem_cache *thread_stack_cache;

static unsigned long *alloc_thread_stack_node(struct task_struct *tsk,
						  int node)
{
	unsigned long *stack;
	stack = kmem_cache_alloc_node(thread_stack_cache, THREADINFO_GFP, node);
	tsk->stack = stack;
	return stack;
}

static void free_thread_stack(struct task_struct *tsk)
{
	kmem_cache_free(thread_stack_cache, tsk->stack);
}

void thread_stack_cache_init(void)
{
	thread_stack_cache = kmem_cache_create_usercopy("thread_stack",
					THREAD_SIZE, THREAD_SIZE, 0, 0,
					THREAD_SIZE, NULL);
	BUG_ON(thread_stack_cache == NULL);
}
# endif
#endif

/* SLAB cache for signal_struct structures (tsk->signal) */
static struct kmem_cache *signal_cachep;

/* SLAB cache for sighand_struct structures (tsk->sighand) */
struct kmem_cache *sighand_cachep;

/* SLAB cache for files_struct structures (tsk->files) */
struct kmem_cache *files_cachep;

/* SLAB cache for fs_struct structures (tsk->fs) */
struct kmem_cache *fs_cachep;

/* SLAB cache for vm_area_struct structures */
static struct kmem_cache *vm_area_cachep;

/* SLAB cache for mm_struct structures (tsk->mm) */
static struct kmem_cache *mm_cachep;

struct vm_area_struct *vm_area_alloc(struct mm_struct *mm)
{
	struct vm_area_struct *vma;

	vma = kmem_cache_alloc(vm_area_cachep, GFP_KERNEL);
	if (vma)
		vma_init(vma, mm);
	return vma;
}

struct vm_area_struct *vm_area_dup(struct vm_area_struct *orig)
{
	struct vm_area_struct *new = kmem_cache_alloc(vm_area_cachep, GFP_KERNEL);

	if (new) {
		*new = *orig;
		INIT_LIST_HEAD(&new->anon_vma_chain);
	}
	return new;
}

void vm_area_free(struct vm_area_struct *vma)
{
	kmem_cache_free(vm_area_cachep, vma);
}

static void account_kernel_stack(struct task_struct *tsk, int account)
{
	void *stack = task_stack_page(tsk);
	struct vm_struct *vm = task_stack_vm_area(tsk);

	BUILD_BUG_ON(IS_ENABLED(CONFIG_VMAP_STACK) && PAGE_SIZE % 1024 != 0);

	if (vm) {
		int i;

		BUG_ON(vm->nr_pages != THREAD_SIZE / PAGE_SIZE);

		for (i = 0; i < THREAD_SIZE / PAGE_SIZE; i++) {
			mod_zone_page_state(page_zone(vm->pages[i]),
					    NR_KERNEL_STACK_KB,
					    PAGE_SIZE / 1024 * account);
		}
	} else {
		/*
		 * All stack pages are in the same zone and belong to the
		 * same memcg.
		 */
		struct page *first_page = virt_to_page(stack);

		mod_zone_page_state(page_zone(first_page), NR_KERNEL_STACK_KB,
				    THREAD_SIZE / 1024 * account);

		mod_memcg_page_state(first_page, MEMCG_KERNEL_STACK_KB,
				     account * (THREAD_SIZE / 1024));
	}
}

static int memcg_charge_kernel_stack(struct task_struct *tsk)
{
#ifdef CONFIG_VMAP_STACK
	struct vm_struct *vm = task_stack_vm_area(tsk);
	int ret;

	if (vm) {
		int i;

		for (i = 0; i < THREAD_SIZE / PAGE_SIZE; i++) {
			/*
			 * If memcg_kmem_charge() fails, page->mem_cgroup
			 * pointer is NULL, and both memcg_kmem_uncharge()
			 * and mod_memcg_page_state() in free_thread_stack()
			 * will ignore this page. So it's safe.
			 */
			ret = memcg_kmem_charge(vm->pages[i], GFP_KERNEL, 0);
			if (ret)
				return ret;

			mod_memcg_page_state(vm->pages[i],
					     MEMCG_KERNEL_STACK_KB,
					     PAGE_SIZE / 1024);
		}
	}
#endif
	return 0;
}

static void release_task_stack(struct task_struct *tsk)
{
	if (WARN_ON(tsk->state != TASK_DEAD))
		return;  /* Better to leak the stack than to free prematurely */

	account_kernel_stack(tsk, -1);
	free_thread_stack(tsk);
	tsk->stack = NULL;
#ifdef CONFIG_VMAP_STACK
	tsk->stack_vm_area = NULL;
#endif
}

#ifdef CONFIG_THREAD_INFO_IN_TASK
void put_task_stack(struct task_struct *tsk)
{
	if (refcount_dec_and_test(&tsk->stack_refcount))
		release_task_stack(tsk);
}
#endif

void free_task(struct task_struct *tsk)
{
#ifndef CONFIG_THREAD_INFO_IN_TASK
	/*
	 * The task is finally done with both the stack and thread_info,
	 * so free both.
	 */
	release_task_stack(tsk);
#else
	/*
	 * If the task had a separate stack allocation, it should be gone
	 * by now.
	 */
	WARN_ON_ONCE(refcount_read(&tsk->stack_refcount) != 0);
#endif
	rt_mutex_debug_task_free(tsk);
	ftrace_graph_exit_task(tsk);
	put_seccomp_filter(tsk);
	arch_release_task_struct(tsk);
	if (tsk->flags & PF_KTHREAD)
		free_kthread_struct(tsk);
	free_task_struct(tsk);
}
EXPORT_SYMBOL(free_task);

#ifdef CONFIG_MMU
static __latent_entropy int dup_mmap(struct mm_struct *mm,
					struct mm_struct *oldmm)
{
	struct vm_area_struct *mpnt, *tmp, *prev, **pprev;
	struct rb_node **rb_link, *rb_parent;
	int retval;
	unsigned long charge;
	LIST_HEAD(uf);

	uprobe_start_dup_mmap();
	if (down_write_killable(&oldmm->mmap_sem)) {
		retval = -EINTR;
		goto fail_uprobe_end;
	}
	flush_cache_dup_mm(oldmm);
	uprobe_dup_mmap(oldmm, mm);
	/*
	 * Not linked in yet - no deadlock potential:
	 */
	down_write_nested(&mm->mmap_sem, SINGLE_DEPTH_NESTING);

	/* No ordering required: file already has been exposed. */
	RCU_INIT_POINTER(mm->exe_file, get_mm_exe_file(oldmm));

	mm->total_vm = oldmm->total_vm;
	mm->data_vm = oldmm->data_vm;
	mm->exec_vm = oldmm->exec_vm;
	mm->stack_vm = oldmm->stack_vm;

	rb_link = &mm->mm_rb.rb_node;
	rb_parent = NULL;
	pprev = &mm->mmap;
	retval = ksm_fork(mm, oldmm);
	if (retval)
		goto out;
	retval = khugepaged_fork(mm, oldmm);
	if (retval)
		goto out;

	prev = NULL;
	for (mpnt = oldmm->mmap; mpnt; mpnt = mpnt->vm_next) {
		struct file *file;

		if (mpnt->vm_flags & VM_DONTCOPY) {
			vm_stat_account(mm, mpnt->vm_flags, -vma_pages(mpnt));
			continue;
		}
		charge = 0;
		/*
		 * Don't duplicate many vmas if we've been oom-killed (for
		 * example)
		 */
		if (fatal_signal_pending(current)) {
			retval = -EINTR;
			goto out;
		}
		if (mpnt->vm_flags & VM_ACCOUNT) {
			unsigned long len = vma_pages(mpnt);

			if (security_vm_enough_memory_mm(oldmm, len)) /* sic */
				goto fail_nomem;
			charge = len;
		}
		tmp = vm_area_dup(mpnt);
		if (!tmp)
			goto fail_nomem;
		retval = vma_dup_policy(mpnt, tmp);
		if (retval)
			goto fail_nomem_policy;
		tmp->vm_mm = mm;
		retval = dup_userfaultfd(tmp, &uf);
		if (retval)
			goto fail_nomem_anon_vma_fork;
		if (tmp->vm_flags & VM_WIPEONFORK) {
			/* VM_WIPEONFORK gets a clean slate in the child. */
			tmp->anon_vma = NULL;
			if (anon_vma_prepare(tmp))
				goto fail_nomem_anon_vma_fork;
		} else if (anon_vma_fork(tmp, mpnt))
			goto fail_nomem_anon_vma_fork;
		tmp->vm_flags &= ~(VM_LOCKED | VM_LOCKONFAULT);
		tmp->vm_next = tmp->vm_prev = NULL;
		file = tmp->vm_file;
		if (file) {
			struct inode *inode = file_inode(file);
			struct address_space *mapping = file->f_mapping;

			get_file(file);
			if (tmp->vm_flags & VM_DENYWRITE)
				atomic_dec(&inode->i_writecount);
			i_mmap_lock_write(mapping);
			if (tmp->vm_flags & VM_SHARED)
				atomic_inc(&mapping->i_mmap_writable);
			flush_dcache_mmap_lock(mapping);
			/* insert tmp into the share list, just after mpnt */
			vma_interval_tree_insert_after(tmp, mpnt,
					&mapping->i_mmap);
			flush_dcache_mmap_unlock(mapping);
			i_mmap_unlock_write(mapping);
		}

		/*
		 * Clear hugetlb-related page reserves for children. This only
		 * affects MAP_PRIVATE mappings. Faults generated by the child
		 * are not guaranteed to succeed, even if read-only
		 */
		if (is_vm_hugetlb_page(tmp))
			reset_vma_resv_huge_pages(tmp);

		/*
		 * Link in the new vma and copy the page table entries.
		 */
		*pprev = tmp;
		pprev = &tmp->vm_next;
		tmp->vm_prev = prev;
		prev = tmp;

		__vma_link_rb(mm, tmp, rb_link, rb_parent);
		rb_link = &tmp->vm_rb.rb_right;
		rb_parent = &tmp->vm_rb;

		mm->map_count++;
		if (!(tmp->vm_flags & VM_WIPEONFORK))
			retval = copy_page_range(mm, oldmm, mpnt);

		if (tmp->vm_ops && tmp->vm_ops->open)
			tmp->vm_ops->open(tmp);

		if (retval)
			goto out;
	}
	/* a new mm has just been created */
	retval = arch_dup_mmap(oldmm, mm);
out:
	up_write(&mm->mmap_sem);
	flush_tlb_mm(oldmm);
	up_write(&oldmm->mmap_sem);
	dup_userfaultfd_complete(&uf);
fail_uprobe_end:
	uprobe_end_dup_mmap();
	return retval;
fail_nomem_anon_vma_fork:
	mpol_put(vma_policy(tmp));
fail_nomem_policy:
	vm_area_free(tmp);
fail_nomem:
	retval = -ENOMEM;
	vm_unacct_memory(charge);
	goto out;
}

static inline int mm_alloc_pgd(struct mm_struct *mm)
{
	mm->pgd = pgd_alloc(mm);
	if (unlikely(!mm->pgd))
		return -ENOMEM;
	return 0;
}

static inline void mm_free_pgd(struct mm_struct *mm)
{
	pgd_free(mm, mm->pgd);
}
#else
static int dup_mmap(struct mm_struct *mm, struct mm_struct *oldmm)
{
	down_write(&oldmm->mmap_sem);
	RCU_INIT_POINTER(mm->exe_file, get_mm_exe_file(oldmm));
	up_write(&oldmm->mmap_sem);
	return 0;
}
#define mm_alloc_pgd(mm)	(0)
#define mm_free_pgd(mm)
#endif /* CONFIG_MMU */

static void check_mm(struct mm_struct *mm)
{
	int i;

	for (i = 0; i < NR_MM_COUNTERS; i++) {
		long x = atomic_long_read(&mm->rss_stat.count[i]);

		if (unlikely(x))
			printk(KERN_ALERT "BUG: Bad rss-counter state "
					  "mm:%p idx:%d val:%ld\n", mm, i, x);
	}

	if (mm_pgtables_bytes(mm))
		pr_alert("BUG: non-zero pgtables_bytes on freeing mm: %ld\n",
				mm_pgtables_bytes(mm));

#if defined(CONFIG_TRANSPARENT_HUGEPAGE) && !USE_SPLIT_PMD_PTLOCKS
	VM_BUG_ON_MM(mm->pmd_huge_pte, mm);
#endif
}

#define allocate_mm()	(kmem_cache_alloc(mm_cachep, GFP_KERNEL))
#define free_mm(mm)	(kmem_cache_free(mm_cachep, (mm)))

/*
 * Called when the last reference to the mm
 * is dropped: either by a lazy thread or by
 * mmput. Free the page directory and the mm.
 */
void __mmdrop(struct mm_struct *mm)
{
	BUG_ON(mm == &init_mm);
	WARN_ON_ONCE(mm == current->mm);
	WARN_ON_ONCE(mm == current->active_mm);
	mm_free_pgd(mm);
	destroy_context(mm);
	mmu_notifier_mm_destroy(mm);
	check_mm(mm);
	put_user_ns(mm->user_ns);
	free_mm(mm);
}
EXPORT_SYMBOL_GPL(__mmdrop);

static void mmdrop_async_fn(struct work_struct *work)
{
	struct mm_struct *mm;

	mm = container_of(work, struct mm_struct, async_put_work);
	__mmdrop(mm);
}

static void mmdrop_async(struct mm_struct *mm)
{
	if (unlikely(atomic_dec_and_test(&mm->mm_count))) {
		INIT_WORK(&mm->async_put_work, mmdrop_async_fn);
		schedule_work(&mm->async_put_work);
	}
}

static inline void free_signal_struct(struct signal_struct *sig)
{
	taskstats_tgid_free(sig);
	sched_autogroup_exit(sig);
	/*
	 * __mmdrop is not safe to call from softirq context on x86 due to
	 * pgd_dtor so postpone it to the async context
	 */
	if (sig->oom_mm)
		mmdrop_async(sig->oom_mm);
	kmem_cache_free(signal_cachep, sig);
}

static inline void put_signal_struct(struct signal_struct *sig)
{
	if (refcount_dec_and_test(&sig->sigcnt))
		free_signal_struct(sig);
}

void __put_task_struct(struct task_struct *tsk)
{
	WARN_ON(!tsk->exit_state);
	WARN_ON(refcount_read(&tsk->usage));
	WARN_ON(tsk == current);

	cgroup_free(tsk);
	task_numa_free(tsk);
	security_task_free(tsk);
	exit_creds(tsk);
	delayacct_tsk_free(tsk);
	put_signal_struct(tsk->signal);

	if (!profile_handoff_task(tsk))
		free_task(tsk);
}
EXPORT_SYMBOL_GPL(__put_task_struct);

void __init __weak arch_task_cache_init(void) { }

/*
 * set_max_threads
 */
static void set_max_threads(unsigned int max_threads_suggested)
{
	u64 threads;
	unsigned long nr_pages = totalram_pages();

	/*
	 * The number of threads shall be limited such that the thread
	 * structures may only consume a small part of the available memory.
	 */
	if (fls64(nr_pages) + fls64(PAGE_SIZE) > 64)
		threads = MAX_THREADS;
	else
		threads = div64_u64((u64) nr_pages * (u64) PAGE_SIZE,
				    (u64) THREAD_SIZE * 8UL);

	if (threads > max_threads_suggested)
		threads = max_threads_suggested;

	max_threads = clamp_t(u64, threads, MIN_THREADS, MAX_THREADS);
}

#ifdef CONFIG_ARCH_WANTS_DYNAMIC_TASK_STRUCT
/* Initialized by the architecture: */
int arch_task_struct_size __read_mostly;
#endif

static void task_struct_whitelist(unsigned long *offset, unsigned long *size)
{
	/* Fetch thread_struct whitelist for the architecture. */
	arch_thread_struct_whitelist(offset, size);

	/*
	 * Handle zero-sized whitelist or empty thread_struct, otherwise
	 * adjust offset to position of thread_struct in task_struct.
	 */
	if (unlikely(*size == 0))
		*offset = 0;
	else
		*offset += offsetof(struct task_struct, thread);
}

void __init fork_init(void)
{
	int i;
#ifndef CONFIG_ARCH_TASK_STRUCT_ALLOCATOR
#ifndef ARCH_MIN_TASKALIGN
#define ARCH_MIN_TASKALIGN	0
#endif
	int align = max_t(int, L1_CACHE_BYTES, ARCH_MIN_TASKALIGN);
	unsigned long useroffset, usersize;

	/* create a slab on which task_structs can be allocated */
	task_struct_whitelist(&useroffset, &usersize);
	task_struct_cachep = kmem_cache_create_usercopy("task_struct",
			arch_task_struct_size, align,
			SLAB_PANIC|SLAB_ACCOUNT,
			useroffset, usersize, NULL);
#endif

	/* do the arch specific task caches init */
	arch_task_cache_init();

	set_max_threads(MAX_THREADS);

	init_task.signal->rlim[RLIMIT_NPROC].rlim_cur = max_threads/2;
	init_task.signal->rlim[RLIMIT_NPROC].rlim_max = max_threads/2;
	init_task.signal->rlim[RLIMIT_SIGPENDING] =
		init_task.signal->rlim[RLIMIT_NPROC];

	for (i = 0; i < UCOUNT_COUNTS; i++) {
		init_user_ns.ucount_max[i] = max_threads/2;
	}

#ifdef CONFIG_VMAP_STACK
	cpuhp_setup_state(CPUHP_BP_PREPARE_DYN, "fork:vm_stack_cache",
			  NULL, free_vm_stack_cache);
#endif

	lockdep_init_task(&init_task);
	uprobes_init();
}

int __weak arch_dup_task_struct(struct task_struct *dst,
					       struct task_struct *src)
{
	*dst = *src;
	return 0;
}

void set_task_stack_end_magic(struct task_struct *tsk)
{
	unsigned long *stackend;

	stackend = end_of_stack(tsk);
	*stackend = STACK_END_MAGIC;	/* for overflow detection */
}

static struct task_struct *dup_task_struct(struct task_struct *orig, int node)
{
	struct task_struct *tsk;
	unsigned long *stack;
	struct vm_struct *stack_vm_area __maybe_unused;
	int err;

	if (node == NUMA_NO_NODE)
		node = tsk_fork_get_node(orig);
	tsk = alloc_task_struct_node(node);
	if (!tsk)
		return NULL;

	stack = alloc_thread_stack_node(tsk, node);
	if (!stack)
		goto free_tsk;

	if (memcg_charge_kernel_stack(tsk))
		goto free_stack;

	stack_vm_area = task_stack_vm_area(tsk);

	err = arch_dup_task_struct(tsk, orig);

	/*
	 * arch_dup_task_struct() clobbers the stack-related fields.  Make
	 * sure they're properly initialized before using any stack-related
	 * functions again.
	 */
	tsk->stack = stack;
#ifdef CONFIG_VMAP_STACK
	tsk->stack_vm_area = stack_vm_area;
#endif
#ifdef CONFIG_THREAD_INFO_IN_TASK
	refcount_set(&tsk->stack_refcount, 1);
#endif

	if (err)
		goto free_stack;

#ifdef CONFIG_SECCOMP
	/*
	 * We must handle setting up seccomp filters once we're under
	 * the sighand lock in case orig has changed between now and
	 * then. Until then, filter must be NULL to avoid messing up
	 * the usage counts on the error path calling free_task.
	 */
	tsk->seccomp.filter = NULL;
#endif

	setup_thread_stack(tsk, orig);
	clear_user_return_notifier(tsk);
	clear_tsk_need_resched(tsk);
	set_task_stack_end_magic(tsk);

#ifdef CONFIG_STACKPROTECTOR
	tsk->stack_canary = get_random_canary();
#endif
	if (orig->cpus_ptr == &orig->cpus_mask)
		tsk->cpus_ptr = &tsk->cpus_mask;

	/*
	 * One for us, one for whoever does the "release_task()" (usually
	 * parent)
	 */
	refcount_set(&tsk->usage, 2);
#ifdef CONFIG_BLK_DEV_IO_TRACE
	tsk->btrace_seq = 0;
#endif
	tsk->splice_pipe = NULL;
	tsk->task_frag.page = NULL;
	tsk->wake_q.next = NULL;

	account_kernel_stack(tsk, 1);

	kcov_task_init(tsk);

#ifdef CONFIG_FAULT_INJECTION
	tsk->fail_nth = 0;
#endif

#ifdef CONFIG_BLK_CGROUP
	tsk->throttle_queue = NULL;
	tsk->use_memdelay = 0;
#endif

#ifdef CONFIG_MEMCG
	tsk->active_memcg = NULL;
#endif
	return tsk;

free_stack:
	free_thread_stack(tsk);
free_tsk:
	free_task_struct(tsk);
	return NULL;
}

__cacheline_aligned_in_smp DEFINE_SPINLOCK(mmlist_lock);

static unsigned long default_dump_filter = MMF_DUMP_FILTER_DEFAULT;

static int __init coredump_filter_setup(char *s)
{
	default_dump_filter =
		(simple_strtoul(s, NULL, 0) << MMF_DUMP_FILTER_SHIFT) &
		MMF_DUMP_FILTER_MASK;
	return 1;
}

__setup("coredump_filter=", coredump_filter_setup);

#include <linux/init_task.h>

static void mm_init_aio(struct mm_struct *mm)
{
#ifdef CONFIG_AIO
	spin_lock_init(&mm->ioctx_lock);
	mm->ioctx_table = NULL;
#endif
}

static __always_inline void mm_clear_owner(struct mm_struct *mm,
					   struct task_struct *p)
{
#ifdef CONFIG_MEMCG
	if (mm->owner == p)
		WRITE_ONCE(mm->owner, NULL);
#endif
}

static void mm_init_owner(struct mm_struct *mm, struct task_struct *p)
{
#ifdef CONFIG_MEMCG
	mm->owner = p;
#endif
}

static void mm_init_uprobes_state(struct mm_struct *mm)
{
#ifdef CONFIG_UPROBES
	mm->uprobes_state.xol_area = NULL;
#endif
}

static struct mm_struct *mm_init(struct mm_struct *mm, struct task_struct *p,
	struct user_namespace *user_ns)
{
	mm->mmap = NULL;
	mm->mm_rb = RB_ROOT;
	mm->vmacache_seqnum = 0;
	atomic_set(&mm->mm_users, 1);
	atomic_set(&mm->mm_count, 1);
	init_rwsem(&mm->mmap_sem);
	INIT_LIST_HEAD(&mm->mmlist);
	mm->core_state = NULL;
	mm_pgtables_bytes_init(mm);
	mm->map_count = 0;
	mm->locked_vm = 0;
	atomic64_set(&mm->pinned_vm, 0);
	memset(&mm->rss_stat, 0, sizeof(mm->rss_stat));
	spin_lock_init(&mm->page_table_lock);
	spin_lock_init(&mm->arg_lock);
	mm_init_cpumask(mm);
	mm_init_aio(mm);
	mm_init_owner(mm, p);
	RCU_INIT_POINTER(mm->exe_file, NULL);
	mmu_notifier_mm_init(mm);
	hmm_mm_init(mm);
	init_tlb_flush_pending(mm);
#if defined(CONFIG_TRANSPARENT_HUGEPAGE) && !USE_SPLIT_PMD_PTLOCKS
	mm->pmd_huge_pte = NULL;
#endif
	mm_init_uprobes_state(mm);

	if (current->mm) {
		mm->flags = current->mm->flags & MMF_INIT_MASK;
		mm->def_flags = current->mm->def_flags & VM_INIT_DEF_MASK;
	} else {
		mm->flags = default_dump_filter;
		mm->def_flags = 0;
	}

	if (mm_alloc_pgd(mm))
		goto fail_nopgd;

	if (init_new_context(p, mm))
		goto fail_nocontext;

	mm->user_ns = get_user_ns(user_ns);
	return mm;

fail_nocontext:
	mm_free_pgd(mm);
fail_nopgd:
	free_mm(mm);
	return NULL;
}

/*
 * Allocate and initialize an mm_struct.
 */
struct mm_struct *mm_alloc(void)
{
	struct mm_struct *mm;

	mm = allocate_mm();
	if (!mm)
		return NULL;

	memset(mm, 0, sizeof(*mm));
	return mm_init(mm, current, current_user_ns());
}

static inline void __mmput(struct mm_struct *mm)
{
	VM_BUG_ON(atomic_read(&mm->mm_users));

	uprobe_clear_state(mm);
	exit_aio(mm);
	ksm_exit(mm);
	khugepaged_exit(mm); /* must run before exit_mmap */
	exit_mmap(mm);
	mm_put_huge_zero_page(mm);
	set_mm_exe_file(mm, NULL);
	if (!list_empty(&mm->mmlist)) {
		spin_lock(&mmlist_lock);
		list_del(&mm->mmlist);
		spin_unlock(&mmlist_lock);
	}
	if (mm->binfmt)
		module_put(mm->binfmt->module);
	mmdrop(mm);
}

/*
 * Decrement the use count and release all resources for an mm.
 */
void mmput(struct mm_struct *mm)
{
	might_sleep();

	if (atomic_dec_and_test(&mm->mm_users))
		__mmput(mm);
}
EXPORT_SYMBOL_GPL(mmput);

#ifdef CONFIG_MMU
static void mmput_async_fn(struct work_struct *work)
{
	struct mm_struct *mm = container_of(work, struct mm_struct,
					    async_put_work);

	__mmput(mm);
}

void mmput_async(struct mm_struct *mm)
{
	if (atomic_dec_and_test(&mm->mm_users)) {
		INIT_WORK(&mm->async_put_work, mmput_async_fn);
		schedule_work(&mm->async_put_work);
	}
}
#endif

/**
 * set_mm_exe_file - change a reference to the mm's executable file
 *
 * This changes mm's executable file (shown as symlink /proc/[pid]/exe).
 *
 * Main users are mmput() and sys_execve(). Callers prevent concurrent
 * invocations: in mmput() nobody alive left, in execve task is single
 * threaded. sys_prctl(PR_SET_MM_MAP/EXE_FILE) also needs to set the
 * mm->exe_file, but does so without using set_mm_exe_file() in order
 * to do avoid the need for any locks.
 */
void set_mm_exe_file(struct mm_struct *mm, struct file *new_exe_file)
{
	struct file *old_exe_file;

	/*
	 * It is safe to dereference the exe_file without RCU as
	 * this function is only called if nobody else can access
	 * this mm -- see comment above for justification.
	 */
	old_exe_file = rcu_dereference_raw(mm->exe_file);

	if (new_exe_file)
		get_file(new_exe_file);
	rcu_assign_pointer(mm->exe_file, new_exe_file);
	if (old_exe_file)
		fput(old_exe_file);
}

/**
 * get_mm_exe_file - acquire a reference to the mm's executable file
 *
 * Returns %NULL if mm has no associated executable file.
 * User must release file via fput().
 */
struct file *get_mm_exe_file(struct mm_struct *mm)
{
	struct file *exe_file;

	rcu_read_lock();
	exe_file = rcu_dereference(mm->exe_file);
	if (exe_file && !get_file_rcu(exe_file))
		exe_file = NULL;
	rcu_read_unlock();
	return exe_file;
}
EXPORT_SYMBOL(get_mm_exe_file);

/**
 * get_task_exe_file - acquire a reference to the task's executable file
 *
 * Returns %NULL if task's mm (if any) has no associated executable file or
 * this is a kernel thread with borrowed mm (see the comment above get_task_mm).
 * User must release file via fput().
 */
struct file *get_task_exe_file(struct task_struct *task)
{
	struct file *exe_file = NULL;
	struct mm_struct *mm;

	task_lock(task);
	mm = task->mm;
	if (mm) {
		if (!(task->flags & PF_KTHREAD))
			exe_file = get_mm_exe_file(mm);
	}
	task_unlock(task);
	return exe_file;
}
EXPORT_SYMBOL(get_task_exe_file);

/**
 * get_task_mm - acquire a reference to the task's mm
 *
 * Returns %NULL if the task has no mm.  Checks PF_KTHREAD (meaning
 * this kernel workthread has transiently adopted a user mm with use_mm,
 * to do its AIO) is not set and if so returns a reference to it, after
 * bumping up the use count.  User must release the mm via mmput()
 * after use.  Typically used by /proc and ptrace.
 */
struct mm_struct *get_task_mm(struct task_struct *task)
{
	struct mm_struct *mm;

	task_lock(task);
	mm = task->mm;
	if (mm) {
		if (task->flags & PF_KTHREAD)
			mm = NULL;
		else
			mmget(mm);
	}
	task_unlock(task);
	return mm;
}
EXPORT_SYMBOL_GPL(get_task_mm);

struct mm_struct *mm_access(struct task_struct *task, unsigned int mode)
{
	struct mm_struct *mm;
	int err;

	err =  mutex_lock_killable(&task->signal->cred_guard_mutex);
	if (err)
		return ERR_PTR(err);

	mm = get_task_mm(task);
	if (mm && mm != current->mm &&
			!ptrace_may_access(task, mode)) {
		mmput(mm);
		mm = ERR_PTR(-EACCES);
	}
	mutex_unlock(&task->signal->cred_guard_mutex);

	return mm;
}

static void complete_vfork_done(struct task_struct *tsk)
{
	struct completion *vfork;

	task_lock(tsk);
	vfork = tsk->vfork_done;
	if (likely(vfork)) {
		tsk->vfork_done = NULL;
		complete(vfork);
	}
	task_unlock(tsk);
}

static int wait_for_vfork_done(struct task_struct *child,
				struct completion *vfork)
{
	int killed;

	freezer_do_not_count();
	cgroup_enter_frozen();
	killed = wait_for_completion_killable(vfork);
	cgroup_leave_frozen(false);
	freezer_count();

	if (killed) {
		task_lock(child);
		child->vfork_done = NULL;
		task_unlock(child);
	}

	put_task_struct(child);
	return killed;
}

/* Please note the differences between mmput and mm_release.
 * mmput is called whenever we stop holding onto a mm_struct,
 * error success whatever.
 *
 * mm_release is called after a mm_struct has been removed
 * from the current process.
 *
 * This difference is important for error handling, when we
 * only half set up a mm_struct for a new process and need to restore
 * the old one.  Because we mmput the new mm_struct before
 * restoring the old one. . .
 * Eric Biederman 10 January 1998
 */
void mm_release(struct task_struct *tsk, struct mm_struct *mm)
{