Green’s Dictionary of Slang

mill v.2

[mill n.1 (5a)]

to sentence to the treadmill, to imprison.

[UK]Dickens Oliver Twist (1966) 231: I shouldn’t have been milled, if it hadn’t been for her advice.
[Ind]H. Hartigan Stray Leaves (2nd ser.) 307: ‘What did they do?’ asked the colonel. ‘Milled me, sir, said Waller. [...] ‘Shopped me, sir,’ said Waller.