The primary mechanism of action of HDAC inhibitors is the alteration of the acetylation status of histones and non-histone proteins. This alteration affects the expression of genes involved in cell cycle regulation, apoptosis, and DNA repair. By promoting the acetylation of histones, HDAC inhibitors can activate tumor suppressor genes and inhibit oncogenes, which ultimately results in the suppression of cancer cell growth and induction of cell death.