Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Apr 2023 14:23:44 +0200
From:      Alexander Lochmann <alexander.lochmann@tu-dortmund.de>
To:        Kirk McKusick <mckusick@mckusick.com>
Cc:        Konstantin Belousov <kostikbel@gmail.com>, freebsd-fs@freebsd.org
Subject:   Re: Understanding locking for buf
Message-ID:  <f41f6f5d-3d4b-0115-86f6-5be960b6de22@tu-dortmund.de>
In-Reply-To: <202304132224.33DMONo4027229@chez.mckusick.com>
References:  <202304132224.33DMONo4027229@chez.mckusick.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--------------DJtOup0CQKKsBQoU0Miorus7
Content-Type: multipart/mixed; boundary="------------7afhr1SJezfV9o1qGNBaaeMn";
 protected-headers="v1"
From: Alexander Lochmann <alexander.lochmann@tu-dortmund.de>
To: Kirk McKusick <mckusick@mckusick.com>
Cc: Konstantin Belousov <kostikbel@gmail.com>, freebsd-fs@freebsd.org
Message-ID: <f41f6f5d-3d4b-0115-86f6-5be960b6de22@tu-dortmund.de>
Subject: Re: Understanding locking for buf
References: <202304132224.33DMONo4027229@chez.mckusick.com>
In-Reply-To: <202304132224.33DMONo4027229@chez.mckusick.com>

--------------7afhr1SJezfV9o1qGNBaaeMn
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64

VGhhbmtzLCBLaXJrLCBmb3IgeW91ciBleHBsYW5hdGlvbiENCg0KT24gMTQuMDQuMjMgMDA6
MjQsIEtpcmsgTWNLdXNpY2sgd3JvdGU6DQo+IExldCBtZSB0cnkgdG8gZ2l2ZSBhIGRpZmZl
cmVudCBleHBsYW5hdGlvbiBmb3IgaG93IGJ1ZmZlciBsb2NraW5nDQo+IGlzIGhhbmRsZWQg
d2hpY2ggbWF5IGhlbHAgY2xlYXIgdXAgd2hhdCBpcyBoYXBwZW5pbmcuIFdoZW4gYSBzeXN0
ZW0NCj4gY2FsbCBpbnRvIGEgZmlsZXN5c3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AgZmF4
OiAgICArNDkuMjMxLjc1NTYxMTYNCmh0dHBzOi8vc3lzLmNzLnR1LWRvcnRtdW5kLmRlL2Fs
DQo=

--------------7afhr1SJezfV9o1qGNBaaeMn--

--------------DJtOup0CQKKsBQoU0Miorus7
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEElhZsUHzVP0dbkjCRWT7tBbw+9v0FAmQ+i9AFAwAAAAAACgkQWT7tBbw+9v0b
EQ/6A+GQlBPHbIeUrlqNJuTH9KHkEacfMsjoKHtb+uc6jQ2M04oyhws/SUk/Y+2MVwhPEZfloVlI
NXyv1691ynDKfrHbsz6rwiubtXnmOigAS5KKZPJUXBhpEkBPEs++QthuEtMfUQWprDFCWoIbvHJD
9/FkaKpqISxqervuswc+alDuTo7edD9P6iyA0voQV6v6LfxiwGUBCpdaPYZgnSadNqxKFTlHJelh
oaGeguSEewec6Lj2NEbv9ahuAO+nI0tirGRVx1GZmBfsdYBolTYGcoccQmjeKmdKaSllALZkxqcs
vRBJ3DUzMnlWAsehTZb1n2Nu178y9DFqctvohNSlM8dbRbMgnz0OqOtT3f5DPJsMaACRPQUeLmvZ
TdCRy21K+ijbM5Ni4J95GYGBcEg+p/ZjvbXCSY6zuH9Box9K+TmC1ZULPgsk7XUqT6oXnAUshCPv
WzzklhmV3yPdrVZSClUbF7lVxt+LISQWe9OnRPyPdVDYm+4t2EWgbsA3xRfNQXq1FAKATd2AokPz
q5X/0MGDzJGNzpZu9v9wJhm56Idx4+WbLfXpFD2lHnsiWjtmFQF2ImsyUJnJ+OCQ9wekDgeYcLp/
QXMEpmp6SlrLXkppP9O08AR4l2qvbJ3ClXMESVEXObdnF03sBhKzZLcyaUqS+p6cLkDxS4e3KNzl
0Ys=
=I+VC
-----END PGP SIGNATURE-----

--------------DJtOup0CQKKsBQoU0Miorus7--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f41f6f5d-3d4b-0115-86f6-5be960b6de22>