[SERVER-23227] Pull in resolution to gperftools issue 780 Created: 18/Mar/16  Updated: 13/Jul/16  Resolved: 18/Apr/16

Status: Closed
Project: Core Server
Component/s: Stability
Affects Version/s: None
Fix Version/s: 3.3.5

Type: Task Priority: Major - P3
Reporter: Mathias Stearn Assignee: Mark Benvenuto
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Platforms 13 (04/22/16)
Participants:

 Description   

We should pull in the eventual solution to https://github.com/gperftools/gperftools/issues/780 to avoid issues if people build mongod on a system with linux 4.5 and deploy on an older kernel.



 Comments   
Comment by Mark Benvenuto [ 18/May/16 ]

If a developer builds against Linux 4.5, and then tries to run against an older Linux kernel, gperftools will not fail.

Comment by Githook User [ 18/Apr/16 ]

Author:

{u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}

Message: SERVER-23227 added define to enable MADV_FREE usage on Linux

Building with -DTCMALLOC_USE_MADV_FREE will enable usage of MADV_FREE on
Linux if glibc copy of kernel headers has MADV_FREE defined.

I.e. so that people can test this more easily.

Ported from
https://github.com/gperftools/gperftools/commit/9fd6d2687914a1f58a8ce457d6a1bd3d55ea0747
Branch: master
https://github.com/mongodb/mongo/commit/12284f9421fba7fc0bac9c8f46f56b4ccdcae8a9

Comment by Githook User [ 18/Apr/16 ]

Author:

{u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}

Message: SERVER-23227 Don't use MADV_FREE on Linux

Ported from
https://github.com/gperftools/gperftools/commit/6f7a14f45e2e2e16fbbd250543f5758078e2f5f0
Branch: master
https://github.com/mongodb/mongo/commit/ccb0649dc5ccd5509fd035dd4477d0347d485fbe

Comment by Mathias Stearn [ 18/Mar/16 ]

Filing this as a placeholder for now so it doesn't get lost. I don't think it is worth taking any action until gperftools resolves that issue on their master branch.

Generated at Thu Feb 08 04:02:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.